Tutorial
An introduction for using the continuable library.
This tutorial will give a short overview about using the library. We assume that the library is available in your current environment, if not, follow the Installation section in order to get it to work.
This tutorial is split across multiple chapters which should be read in order:
- Creating continuables — Explains how to create a continuable_
base. - Chaining continuables — Explains how to chain multiple continuable_
base objects together. - Connecting continuables — Explains how to connect various continuable_
base objects together. - Transforming continuables — Explains the conversion into other types such as
std::future
. - Awaiting continuables — Explains how to use the continuable_
base together with co_await
. - Promisify functions — Explains how to promisify callback taking functions into a continuable_
base.