boost::corosio::tcp_server::launcher::operator()

Launch the connection‐handling coroutine.

Synopsis

template<class Executor>
void
operator()(
    Executor const& ex,
    capy::task<void> task);

Description

Starts the given coroutine on the specified executor. When the coroutine completes, the worker is automatically returned to the idle pool.

Exceptions

Name

Thrown on

std::logic_error

If this launcher was already invoked.

Parameters

Name Description

ex

The executor to run the coroutine on.

task

The coroutine to execute.

Created with MrDocs