boost::capy::io_awaitable_promise_base::transform_awaitable

Transform an awaitable before co_await.

Synopsis

template<typename A>
decltype(auto)
transform_awaitable(A&& a);

Description

Override this in your derived promise type to customize how awaitables are transformed. The default implementation passes the awaitable through unchanged.

Return Value

The transformed awaitable.

Parameters

Name Description

a

The awaitable expression from co_await a.

Created with MrDocs