Namespaces
Variants

std::execution:: on

From cppreference.net
ヘッダーで定義 <execution>
execution :: sender auto on ( execution :: scheduler auto sched,
execution :: sender auto snd ) ;
(C++26 以降)

パラメータ

sched - 送信者が実行される実行エージェントを提供する
snd - schedに関連付けられた実行リソース上で実行される作業

戻り値

指定されたスケジューラに関連付けられた実行リソースに属する実行エージェント上で、提供されたsenderを開始するsenderを返します。

返信された送信者には完了スケジューラがありません。