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