Subscriptions get notified upon any change to the source value of the Oservable.
Constructors
Modifier | Name | Description |
---|
| Subscription<T>(std::function<void (T)> inNext, std::function<void (const std::string&)> inError, std::function<void ()> inComplete) | |
Functions
Access | Modifier | Type | Name | Description |
---|
public | | void | next(const T& inData) | |
public | | void | error(const std::string& inMessage) | |
public | | bool | isCompleted() | |
public | | void | complete() | |
Properties
Access | Modifier | Type | Name | Description |
---|
protected | | bool | m_bIsCompleted | |
protected | | std::function<void (T)> | m_next | |
protected | | std::function<void (const std::string&)> | m_error | |
protected | | std::function<void ()> | m_complete | |