ReactivePlusPlus
ReactiveX implementation for C++20
Loading...
Searching...
No Matches
rpp::subjects::behavior_subject< Type > Class Template Referencefinal

Same as rpp::subjects::publish_subject but keeps last value (or default) and emits it to newly subscribed observer. More...

#include <behavior_subject.hpp>

Additional Inherited Members

Public Types inherited from rpp::subjects::details::behavior_subject_base< Type, false >
using optimal_disposables_strategy
Public Member Functions inherited from rpp::subjects::details::behavior_subject_base< Type, false >
 behavior_subject_base (const Type &value)
auto get_observer () const
auto get_observable () const
rpp::disposable_wrapper get_disposable () const
Type get_value () const

Detailed Description

template<rpp::constraint::decayed_type Type>
class rpp::subjects::behavior_subject< Type >

Same as rpp::subjects::publish_subject but keeps last value (or default) and emits it to newly subscribed observer.

Template Parameters
Typevalue provided by this subject
See also
https://reactivex.io/documentation/subject.html

The documentation for this class was generated from the following file: