Function await_suspend

Synopsis

#include <lib/inc/drogon/utils/coroutine.h>

auto await_suspend(std::coroutine_handle<> coroutine) noexcept

Description

No description yet.

Source

Lines 479-483 in lib/inc/drogon/utils/coroutine.h.

auto await_suspend(std::coroutine_handle<> coroutine) noexcept
{
    coro_.promise().setContinuation(coroutine);
    return coro_;
}





Add Discussion as Guest

Log in