13#include <rpp/utils/constraints.hpp>
19template<constra
int::decayed_type T>
23namespace rpp::constraint
25template<
typename Fn,
typename Type>
concept on_next_fn = std::invocable<std::decay_t<Fn>, Type>;
26template<
typename Fn>
concept on_error_fn = std::invocable<std::decay_t<Fn>, std::exception_ptr>;
32template<constra
int::decayed_type Type>
35template<constraint::decayed_type T,
41template<
typename...Args>
Dynamic (type-erased) version of observer (comparing to specific_observer)
Definition: dynamic_observer.hpp:109
Observer specified with specific template types of callbacks to avoid extra heap usage.
Definition: specific_observer.hpp:35