Difference between revisions of "cpp/execution/just stopped"
From cppreference.com
(move to cpp/experimental) |
|||
Line 1: | Line 1: | ||
+ | {{cpp/execution/title|just_stopped}} | ||
+ | {{cpp/experimental/execution/navbar}} | ||
+ | {{ddcl|since=c++2x|header=execution| | ||
+ | |||
+ | execution::sender auto just_stopped(); | ||
+ | }} | ||
+ | |||
+ | ===Parameters=== | ||
+ | (none) | ||
+ | |||
+ | ===Return value=== | ||
+ | Returns a sender with no completion schedulers, which completes immediately by calling the receiver’s {{lc|set_stopped}}. |
Revision as of 13:05, 3 October 2024
Defined in header <execution>
|
||
execution::sender auto just_stopped(); |
||
Parameters
(none)
Return value
Returns a sender with no completion schedulers, which completes immediately by calling the receiver’s set_stopped.