12#include <rpp/disposables/fwd.hpp>
13#include <rpp/observables/fwd.hpp>
14#include <rpp/observers/fwd.hpp>
16#include <rpp/utils/constraints.hpp>
17#include <rpp/utils/utils.hpp>
19namespace rpp::subjects
21 template<rpp::constra
int::decayed_type Type>
24 template<rpp::constra
int::decayed_type Type>
28 template<rpp::constra
int::decayed_type Type>
31 template<rpp::constra
int::decayed_type Type>
35 template<rpp::constra
int::decayed_type Type>
38 template<rpp::constra
int::decayed_type Type>
44namespace rpp::constraint
47 concept subject =
requires(
const T& subj) {
60namespace rpp::subjects::utils
62 template<constra
int::subject T>
63 using extract_subject_type_t = rpp::utils::extract_observer_type_t<decltype(std::declval<T>().get_observer())>;
Same as rpp::subjects::publish_subject but keeps last value (or default) and emits it to newly subscr...
Definition behavior_subject.hpp:125
Subject which just multicasts values to observers subscribed on it. It contains two parts: observer a...
Definition publish_subject.hpp:81
Same as rpp::subjects::publish_subject but send all earlier emitted values to any new observers.
Definition replay_subject.hpp:164
Same as rpp::subjects::behavior_subject but on_next/on_error/on_completed calls are serialized via mu...
Definition behavior_subject.hpp:139
Serialized version of rpp::subjects::publish_subject.
Definition publish_subject.hpp:95
Same as rpp::subjects::replay_subject but on_next/on_error/on_completed calls are serialized via mute...
Definition replay_subject.hpp:178
Definition constraints.hpp:28