boost::capy::immediate::await_suspend

IoAwaitable protocol overload.

Synopsis

std::coroutine_handle
await_suspend(
    std::coroutine_handle h,
    io_env const* env) const noexcept;

Description

This overload allows immediate to satisfy the IoAwaitable concept. Since the result is already available, the environment is unused.

Return Value

std::noop_coroutine() to indicate no suspension.

Parameters

Name Description

h

The coroutine handle (unused).

env

The execution environment (unused).

Created with MrDocs