std::execution::on

Header: <execution>

Returns a sender which, when started, will start the provided sender on an execution agent belonging to the execution resource associated with the provided scheduler.

# Declarations

execution::sender auto on( execution::scheduler auto sched,
execution::sender auto snd );

(since C++26)

# Parameters

# Return value

Returns a sender which, when started, will start the provided sender on an execution agent belonging to the execution resource associated with the provided scheduler.

# Example

This section is incompleteReason: no example