boost::capy::io_awaitable_promise_base::set_continuation

Store the continuation to resume on completion.

Synopsis

void
set_continuation(std::coroutine_handle cont) noexcept;

Description

Call this from your coroutine type's await_suspend overload to set up the completion path. The final_suspend awaiter returns this handle via unconditional symmetric transfer.

Parameters

Name Description

cont

The continuation to resume on completion.

Created with MrDocs