Namespaces
Variants
Views
Actions

Difference between revisions of "cpp/execution/just stopped"

From cppreference.com
< cpp‎ | execution
m (fmt.)
m (fmt)
Line 2: Line 2:
 
{{cpp/execution/navbar}}
 
{{cpp/execution/navbar}}
  
{{ddcl|since=c++2x|header=execution|
+
{{ddcl|since=c++26|header=execution|
 
execution::sender auto just_stopped();
 
execution::sender auto just_stopped();
 
}}
 
}}
Line 11: Line 11:
 
===Return value===
 
===Return value===
 
Returns a sender with no completion schedulers, which completes immediately by calling the receiver’s {{lc|set_stopped}}.
 
Returns a sender with no completion schedulers, which completes immediately by calling the receiver’s {{lc|set_stopped}}.
 +
 +
===Example===
 +
{{example}}
 +
 +
{{langlinks|de|es|ja|ru|zh}}

Revision as of 12:17, 4 October 2024

 
 
 
Defined in header <execution>
execution::sender auto just_stopped();
(since C++26)

Parameters

(none)

Return value

Returns a sender with no completion schedulers, which completes immediately by calling the receiver’s set_stopped.

Example