asio C++ library

PrevUpHomeNext

experimental::co_spawn (3 of 3 overloads)

Spawn a new thread of execution.

template<
    typename Executor,
    typename F,
    typename CompletionToken>
auto co_spawn(
    const await_token< Executor > & parent,
    F && f,
    CompletionToken && token);

PrevUpHomeNext