boost::capy::ready

Create an immediate awaitable for an io_result with error and three values.

Synopsis

template<
    class T1,
    class T2,
    class T3>
immediate<io_result<T1, T2, T3>>
ready(
    std::error_code ec,
    T1 t1,
    T2 t2,
    T3 t3);

Return Value

An immediate awaitable containing io_result<T1,T2,T3>{ec, t1, t2, t3}.

Parameters

Name Description

ec

The error code.

t1

The first result value.

t2

The second result value.

t3

The third result value.

Created with MrDocs