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

Concept definition

template<typename S>
concept rpp::schedulers::constraint::defer_to_strategy = requires(const S& s, const details::fake_schedulable_handler& handler) {
{
s.defer_to(time_point{}, std::declval<optional_delay_from_now (*)(const details::fake_schedulable_handler&)>(), handler)
} -> std::same_as<void>;
{
s.defer_to(time_point{}, std::declval<optional_delay_from_this_timepoint (*)(const details::fake_schedulable_handler&)>(), handler)
} -> std::same_as<void>;
{
s.defer_to(time_point{}, std::declval<optional_delay_to (*)(const details::fake_schedulable_handler&)>(), handler)
} -> std::same_as<void>;
}