boost::capy::io_awaitable_promise_base::await_transform

Intercept co_await expressions.

Synopsis

template<typename T>
auto
await_transform(T&& t);

Description

This function handles this_coro::environment_tag and the fine‐grained tags (this_coro::executor_tag, this_coro::stop_token_tag, this_coro::allocator_tag) specially, returning an awaiter that yields the stored value. All other awaitables are delegated to transform_awaitable.

Return Value

An awaiter for the expression.

Parameters

Name Description

t

The awaited expression.

Created with MrDocs