ReactivePlusPlus
One more implementation of ReactiveX approach in C++ with care about performance and templates in mind
 
Loading...
Searching...
No Matches
rpp::callback_subscription Class Referencefinal

Subscription which invoke callbable during unsubscribe. More...

#include <callback_subscription.hpp>

Inheritance diagram for rpp::callback_subscription:
rpp::subscription_base

Public Member Functions

template<std::invocable Fn>
 callback_subscription (Fn &&fn)
 
- Public Member Functions inherited from rpp::subscription_base
 subscription_base (const subscription_base &)=default
 
 subscription_base (subscription_base &&) noexcept=default
 
subscription_baseoperator= (const subscription_base &other)=default
 
subscription_baseoperator= (subscription_base &&other) noexcept=default
 
bool operator== (const subscription_base &rhs) const =default
 
bool is_subscribed () const
 indicates current status of subscription
 
void unsubscribe () const
 initiates unsubscription process (if subscribed)
 

Additional Inherited Members

- Static Public Member Functions inherited from rpp::subscription_base
static subscription_base empty ()
 
- Protected Member Functions inherited from rpp::subscription_base
 subscription_base (std::shared_ptr< details::subscription_state > state)
 
const std::shared_ptr< details::subscription_state > & get_state () const
 

Detailed Description

Subscription which invoke callbable during unsubscribe.


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