13#include <rpp/operators/fwd.hpp>
15#include <rpp/defs.hpp>
16#include <rpp/observables/observable.hpp>
18namespace rpp::operators::details
20 template<
typename TObservableChainStrategy>
23 RPP_NO_UNIQUE_ADDRESS TObservableChainStrategy observable;
25 using Type =
typename TObservableChainStrategy::value_type;
27 template<rpp::constra
int::observer_strategy<Type> ObserverStrategy>
30 observable.subscribe(std::move(
observer));
31 return rpp::schedulers::optional_delay_from_now{};
35 template<rpp::schedulers::constra
int::scheduler TScheduler>
38 template<rpp::constra
int::decayed_type T>
41 using result_type = T;
44 template<rpp::details::observables::constra
int::disposables_strategy Prev>
45 using updated_optimal_disposables_strategy = Prev;
47 RPP_NO_UNIQUE_ADDRESS TScheduler scheduler;
52 const auto worker = scheduler.create_worker();
58namespace rpp::operators
74 template<rpp::schedulers::constra
int::scheduler Scheduler>
Definition chain_strategy.hpp:22
Base class for any observer used in RPP. It handles core callbacks of observers. Objects of this clas...
Definition observer.hpp:172
auto subscribe_on(Scheduler &&scheduler)
OnSubscribe function for this observable will be scheduled via provided scheduler.
Definition subscribe_on.hpp:75
Definition subscribe_on.hpp:22
Definition subscribe_on.hpp:40
Definition subscribe_on.hpp:37