Files
cppdraft_translate/cppdraft/exec/unstoppable.md
2025-10-25 03:02:53 +03:00

877 B
Raw Blame History

[exec.unstoppable]

33 Execution control library [exec]

33.9 Senders [exec.snd]

33.9.12 Sender adaptors [exec.adapt]

33.9.12.4 execution::unstoppable [exec.unstoppable]

1

#

unstoppable is a sender adaptor that connects its inner sender with a receiver that has the execution environment of the outer receiver but with an object of type never_stop_token as the result of the get_stop_token query.

2

#

For a subexpression sndr,unstoppable(sndr) is expression-equivalent towrite_env(sndr, prop(get_stop_token, never_stop_token{})).