run_loop::schedule()
should not have set_stopped_t()
in its completion signatures if passed an env with an unstoppable_token
#294
Labels
design
needs-proposed-resolution
This issue does not yet have a proposed resolution but needs one
P0
wording
[exec.run.loop.types] p5 specifies that the completion-signatures of the run-loop-sender are always:
However, if the environment of the receiver connected to this sender has an unstoppable stop-token then it will never call
set_stopped_t
. We should conditionally add theset_stopped_t
completion-signature only if the environment has a stop-token where a stop is possible.The text was updated successfully, but these errors were encountered: