Returns an observable that sends no items to observer and immediately completes, on the specified scheduler.
More...
Go to the source code of this file.
Returns an observable that sends no items to observer and immediately completes, on the specified scheduler.
- Template Parameters
-
T | the type of (not) emitted items |
Coordination | the type of the scheduler (optional) |
- Parameters
-
cn | the scheduler to use for scheduling the items (optional) |
- Returns
- Observable that sends no items to observer and immediately completes.
- Sample Code\n
values.
[](int v){printf("OnNext: %d\n", v);},
[](){printf("OnCompleted\n");});
- Sample Code\n
values.
[](int v){printf("OnNext: %d\n", v);},
[](){printf("OnCompleted\n");});
◆ RXCPP_SOURCES_RX_EMPTY_HPP
#define RXCPP_SOURCES_RX_EMPTY_HPP |