Warning, /libraries/croutons/README.md is written in an unsupported language. File is not indexed.

0001 # Croutons
0002 
0003 Croutons is a library that aims to make working with asynchronous code in a Qt context easy, and in particular, making asynchronous code with QML easy.
0004 
0005 ## Futures
0006 
0007 Croutons has three future types: `FutureBase`, `Future<T> : FutureBase`, `FutureResult<T, Error> : FutureBase`.
0008 
0009 ## Coroutines
0010 
0011 Croutons has integration with C++20 coroutines: simply include `coroutine_integration.h` to make it so that a coroutine can return a future from Croutons.
0012 
0013 Croutons also has integration for various Qt types, allowing you to `co_await` them in a coroutine.