10#ifdef CONDY_DETAIL_HAS_EXECUTION
23class Scheduler :
public detail::Scheduler {
25 friend Scheduler get_scheduler(Runtime &);
27 Scheduler(Runtime &runtime) : detail::Scheduler(runtime) {}
33inline Scheduler get_scheduler(
Runtime &runtime) {
return Scheduler{runtime}; }
43template <
typename Sender>
auto wait_sender(Sender &&sender) {
45 auto s = std::forward<Sender>(sender) | detail::ex::affine();
46 return detail::WaitSenderAwaiter<decltype(s)>(std::move(s), runtime);
The event loop runtime for executing asynchronous.
Internal sender/receiver adapters for std::execution integration.
Detection and aliasing of the available std::execution backend.
The main namespace for the Condy library.
auto & current_runtime() noexcept
Get the current runtime.
Runtime type for running the io_uring event loop.