ReactivePlusPlus
ReactiveX implementation for C++20
|
Same as rpp::subjects::behavior_subject but on_next/on_error/on_completed calls are serialized via mutex. More...
#include <behavior_subject.hpp>
Additional Inherited Members | |
Public Types inherited from rpp::subjects::details::behavior_subject_base< Type, true > | |
using | optimal_disposables_strategy |
Public Member Functions inherited from rpp::subjects::details::behavior_subject_base< Type, true > | |
behavior_subject_base (const Type &value) | |
behavior_subject_base (Type &&value) | |
auto | get_observer () const |
auto | get_observable () const |
rpp::disposable_wrapper | get_disposable () const |
Type | get_value () const |
Same as rpp::subjects::behavior_subject but on_next/on_error/on_completed calls are serialized via mutex.
When you are using ordinary rpp::subjects::behavior_subject, then you must take care not to call its on_next method (or its other on methods) in async way.