|
ReactivePlusPlus
ReactiveX implementation for C++20
|
Public Types | |
| using | on_next_lvalue = void (observer_impl::*)(const Type&) const noexcept |
| using | on_next_rvalue = void (observer_impl::*)(Type&&) const noexcept |
Public Member Functions | |
| void | set_upstream (const disposable_wrapper &d) noexcept |
| Observable calls this method to pass disposable. Observer disposes this disposable WHEN observer wants to unsubscribe. | |
| bool | is_disposed () const noexcept |
| Observable calls this method to check if observer interested or not in emissions. | |
| void | on_next (const Type &v) const noexcept |
| Observable calls this method to notify observer about new value. | |
| void | on_next (Type &&v) const noexcept |
| Observable calls this method to notify observer about new value. | |
| void | on_error (const std::exception_ptr &err) const noexcept |
| Observable calls this method to notify observer about some error during generation next data. | |
| void | on_completed () const noexcept |
| Observable calls this method to notify observer about completion of emissions. | |
Static Public Attributes | |
| static constexpr auto | preferred_disposables_mode = rpp::details::observers::disposables_mode::None |
Protected Member Functions | |
|
template<typename... Args> requires constraint::is_constructible_from<Strategy, Args&&...> | |
| observer_impl (DisposablesStrategy strategy, Args &&... args) | |
|
inlinenoexcept |
Observable calls this method to check if observer interested or not in emissions.
|
inlinenoexcept |
Observable calls this method to notify observer about completion of emissions.
|
inlinenoexcept |
Observable calls this method to notify observer about some error during generation next data.
| err | details of error |
|
inlinenoexcept |
Observable calls this method to notify observer about new value.
|
inlinenoexcept |
Observable calls this method to notify observer about new value.
|
inlinenoexcept |
Observable calls this method to pass disposable. Observer disposes this disposable WHEN observer wants to unsubscribe.