Function await_suspend

Synopsis

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

template <typename T>
auto await_suspend(std::coroutine_handle< T > handle) noexcept

Description

No description yet.

Source

Lines 92-96 in lib/inc/drogon/utils/coroutine.h.

template <typename T>
auto await_suspend(std::coroutine_handle<T> handle) noexcept
{
    return handle.promise().continuation_;
}





Add Discussion as Guest

Log in