You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/overview.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ When an asynchronous operation completes it _signals_ its completion by calling
20
20
<details>
21
21
<summary>environment</summary>
22
22
The term _enviroment_ refers to the bag of properties associated with an <code>_object_</code> by the call <code><ahref=‘#get-env’>std::execution::get_env</a>(_object_)</code>. By default the environment for objects is empty (<code><ahref=‘#empty-env’>std::execution::empty_env</a></code>). In particular, environments associated with <code><ahref=‘#receiver’>receiver</a></code>s are used to provide access to properties like the <ahref=‘#get-stop-token’>stop token</a>, <ahref=‘#get-scheduler’>scheduler</a>, or <ahref=‘#get-allocator’>allocator</a> associated with the <code><ahref=‘#receiver’>receiver</a></code>. The various properties associated with an object are accessed via <ahref=‘#queries’>queries</a>.
23
-
</details>
23
+
</details>
24
24
25
25
## Concepts
26
26
This section lists the concepts from `std::execution`.
@@ -46,15 +46,15 @@ struct example_state
46
46
{
47
47
using operation_state_concept = std::execution::operation_state_t;
The concept <code>sends_stopped<<i>Sender, Env</i>></code> determines if <code>_Sender_</code> may send a <code><ahref=‘#set_stopped’>stopped</a></code> <ahref=‘#completion-signals’>completion signal</a>. To do so, the concepts determines if <code><ahref=‘#get_completion_signals’>std::execution::get_completion_signals</a>(_sender_, _env_)</code> contains the signatures <code><ahref=‘#set_stopped’>std::execution::set_stopped_t</a>()</code>.
241
+
The concept <code>sends_stopped<<i>Sender, Env</i>></code> determines if <code>_Sender_</code> may send a <code><ahref=‘#set_stopped’>stopped</a></code> <ahref=‘#completion-signals’>completion signal</a>. To do so, the concepts determines if <code><ahref=‘#get_completion_signals’>std::execution::get_completion_signals</a>(_sender_, _env_)</code> contains the signatures <code><ahref=‘#set_stopped’>std::execution::set_stopped_t</a>()</code>.
@@ -284,7 +284,7 @@ void compute(std::stoppable_token auto token)
284
284
<summary>Example: inactive</summary>
285
285
<blockquote>
286
286
This example shows how an <code><a href=‘#operation-state’>operation_state</a></code> can use the <code>callback_type</code> together with a <code>_token_</code> to get notified when cancellation is requested.
0 commit comments