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>
22 class publish_subject;
24 template<rpp::constra
int::decayed_type Type>
25 class serialized_publish_subject;
28 template<rpp::constra
int::decayed_type Type>
31 template<rpp::constra
int::decayed_type Type>
32 class serialized_replay_subject;
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 fwd.hpp:36
Same as rpp::subjects::behavior_subject but on_next/on_error/on_completed calls are serialized via mu...
Definition fwd.hpp:39
Definition constraints.hpp:28