boost::capy::ready
Create an immediate awaitable for a successful io_result with two values.
Synopsis
Declared in <boost/capy/ex/immediate.hpp>
template<
class T1,
class T2>
immediate<io_result<T1, T2>>
ready(
T1 t1,
T2 t2);
Return Value
An immediate awaitable containing io_result<T1,T2>{{}, t1, t2}.
Parameters
| Name | Description |
|---|---|
t1 |
The first result value. |
t2 |
The second result value. |
Created with MrDocs