SW Task Event Loop Framework v1.0.0
High-performance C++ asynchronous event loop framework with timer management and promise-based programming
Loading...
Searching...
No Matches
Task.h File Reference

Coroutine-based Task implementation for asynchronous execution. More...

#include <coroutine>
#include <exception>
#include <memory>
#include <optional>
#include <vector>
#include <mutex>
#include <atomic>
#include <utility>
Include dependency graph for Task.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  swt::TaskPromise< T >
 Promise type for coroutine-based Task implementation. More...
 
class  swt::TaskPromise< void >
 Specialized promise for void-returning coroutines. More...
 
class  swt::Task< T >
 RAII wrapper for coroutines with proper continuation chaining. More...
 

Namespaces

namespace  swt
 Software Timer namespace containing all timer-related classes.
 

Detailed Description

Coroutine-based Task implementation for asynchronous execution.

Author
Tran Anh Tai
Date
10/2025
Version
1.0.0

Definition in file Task.h.