ReactivePlusPlus
ReactiveX implementation for C++20
Loading...
Searching...
No Matches
rpp::constraint::observer_strategy_base Concept Reference

Concept definition

template<typename S>
concept rpp::constraint::observer_strategy_base = requires(const S& const_strategy, S& strategy, const rpp::disposable_wrapper& disposable) {
const_strategy.on_error(std::exception_ptr{});
const_strategy.on_completed();
strategy.set_upstream(disposable);
{
strategy.is_disposed()
} -> std::same_as<bool>;
}
disposable_wrapper_impl< interface_disposable > disposable_wrapper
Wrapper to keep "simple" disposable. Specialization of rpp::disposable_wrapper_impl.
Definition fwd.hpp:34