C++ Actor Framework 0.19
|
Internal interface of an observer
.
More...
#include <observer.hpp>
Public Types | |
using | input_type = T |
Public Member Functions | |
virtual void | on_subscribe (subscription sub)=0 |
virtual void | on_next (const T &item)=0 |
virtual void | on_complete ()=0 |
virtual void | on_error (const error &what)=0 |
observer | as_observer () noexcept |
![]() | |
virtual void | ref_coordinated () const noexcept=0 |
Increases the reference count of the coordinated. | |
virtual void | deref_coordinated () const noexcept=0 |
Decreases the reference count of the coordinated and destroys the object if necessary. | |
Internal interface of an observer
.