coro_util Documentation

coro_util Documentation#

coro_util is an open source project, licensed under the Boost Software License. The source is available at tzcnt/coro_util.

coro_util provides header-only async data structures for C++20 coroutines. These data structures have been white-labeled from the TooManyCooks framework and made adaptable for use with any C++20 coroutine library.

This repo does not provide a task or executor type. Instead, you configure the data structures with a small policy adapter that allows them to integrate with your library of choice. Pre-built adapters are provided for several well-known coroutine libraries (TooManyCooks, YACLib, Boost.Cobalt, Asio, Boost.Capy, libfork, concurrencpp, cppcoro, and libcoro).

For brevity, the examples in this repo are all shown using tmc::task.