From Jason Turner

[exec.get.stop.token]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpm362bkwr/{from.md → to.md} +15 -0
tmp/tmpm362bkwr/{from.md → to.md} RENAMED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### `get_stop_token` <a id="exec.get.stop.token">[[exec.get.stop.token]]</a>
2
+
3
+ `get_stop_token` asks a queryable object for an associated stop token.
4
+
5
+ The name `get_stop_token` denotes a query object. For a subexpression
6
+ `env`, `get_stop_token(env)` is expression-equivalent to:
7
+
8
+ - `MANDATE-NOTHROW(AS-CONST(env).query(get_stop_token))` if that
9
+ expression is well-formed. *Mandates:* The type of the expression
10
+ above satisfies `stoppable_token`.
11
+ - Otherwise, `never_stop_token{}`.
12
+
13
+ `forwarding_query(get_stop_token)` is a core constant expression and has
14
+ value `true`.
15
+