proxygen
|
#include <Traits.h>
is_awaiter<T>::value is_awaiter_v<T>
Template metafunction for querying whether the specified type implements the 'Awaiter' concept.
An 'Awaiter' must have the following three methods.
Note that the requirement to accept coroutine_handle<void> rather than just some coroutine_handle
is to ensure that the awaitable can be awaited in any coroutine context where the promise_type does not modify what is normally awaitable through use of await_transform().