ReactivePlusPlus
ReactiveX implementation for C++20
|
Extension over raw observable with ability to be manually connected at any time or ref_counting (sharing same observable between multiple observers) 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{}) | |
rpp::disposable_wrapper | connect (rpp::composite_disposable_wrapper wrapper=composite_disposable_wrapper::make()) const |
Connects to underlying observable right-now making it hot-observable. | |
auto | ref_count () const |
Forces rpp::connectable_observable to behave like common observable. | |
template<typename Op > | |
auto | operator| (Op &&op) const & |
template<typename Op > | |
auto | operator| (Op &&op) && |
template<typename Op > | |
auto | pipe (Op &&op) const & |
template<typename Op > | |
auto | pipe (Op &&op) && |
Extension over raw observable with ability to be manually connected at any time or ref_counting (sharing same observable between multiple observers)
|
inline |
Connects to underlying observable right-now making it hot-observable.