Lightweight 0.20260921.0
Loading...
Searching...
No Matches
Asynchronous API

C++23 coroutine API: tasks, executors and the offload backend. More...

Classes

class  Lightweight::Async::AsyncSqlTransaction
 
class  Lightweight::Async::IAsyncBackend
 
class  Lightweight::Async::OperationCancelledError
 
class  Lightweight::Async::IExecutor
 
class  Lightweight::Async::IResumeScheduler
 
class  Lightweight::Async::InlineExecutor
 
class  Lightweight::Async::ManualExecutor
 
class  Lightweight::Async::StrandExecutor
 
class  Lightweight::Async::Task< T >
 
class  Lightweight::Async::ThreadOffloadBackend
 
class  Lightweight::Async::ThreadPoolExecutor
 

Detailed Description

C++23 coroutine API: tasks, executors and the offload backend.

Async entry points are added directly to the types you already use (SqlConnection, DataMapper, Pool), suffixed with Async. Note that this is a thread-offload model rather than protocol-level non-blocking I/O.