proxygen
|
#include <Traits.h>
is_awaitable<T>::value is_awaitable_v<T>
Query if a type, T, is awaitable within the context of any coroutine whose promise_type does not have an await_transform() that modifies what is normally awaitable.
A type, T, is awaitable if it is an Awaiter, or if it has either a member operator co_await() or a free-function operator co_await() that returns an Awaiter.