Template Function concore::v1::schedule

Function Documentation

template<typename Scheduler>
auto concore::v1::schedule(Scheduler &&sched)

Transforms a scheduler (an execution context) into a single-shot sender.

The return type of the operation must model the

sender concept.
Parameters
  • sched: The scheduler object

The availability of this operation for a given type makes the type model the scheduler concept.

Usage example:

sender auto snd = schedule(sched);

See

scheduler, sender