std::execution::on
來自 cppreference.com
定義於標頭檔案 <execution> |
||
execution::sender auto on( execution::scheduler auto sched, execution::sender auto snd ); |
(C++26 起) | |
[edit] 引數
sched | - | 提供執行代理,傳送方將在其上執行 |
snd | - | 要在與 sched 相關聯的執行資源上執行的工作 |
[edit] 返回值
返回一個傳送方,當它啟動時,將在屬於與所提供的排程器相關聯的執行資源的執行代理上啟動所提供的傳送方。
返回的傳送方沒有完成排程器。
[edit] 示例
本節不完整 原因:無示例 |