connectable alternative of observable: extends interface with extra functionality. Common subscription will subscribe on underlying subject, but connect/ref_count will initiate subscription on original observable More...
#include <connectable_observable.hpp>
Public Member Functions | |
connectable_observable (const OriginalObservable &original_observable, const Subject &subject=Subject{}) | |
connectable_observable (OriginalObservable &&original_observable, const Subject &subject=Subject{}) | |
composite_subscription | connect (const composite_subscription &subscription=composite_subscription{}) const |
connectable alternative of observable: extends interface with extra functionality. Common subscription will subscribe on underlying subject, but connect/ref_count will initiate subscription on original observable
Type | type of values emitted by this observable |
OriginalObservable | original observable wrapped by this observable |