| 401 | } |
| 402 | |
| 403 | void set_stopped() noexcept |
| 404 | { |
| 405 | // Resuming the stopped continuation unwinds the coroutine stack until we reach |
| 406 | // a promise that can handle the stopped signal. The coroutine referred to by |
| 407 | // __continuation_ will never be resumed. |
| 408 | __std::coroutine_handle<> __unwind = __parent_.promise().unhandled_stopped(); |
| 409 | STDEXEC::__coroutine_resume_nothrow(__unwind); |
| 410 | } |
| 411 | |
| 412 | [[nodiscard]] |
| 413 | auto get_env() const noexcept -> env_of_t<_Promise> |
nothing calls this directly
no test coverage detected