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
Awaitable.h File Reference

Direct awaitable types for coroutine integration with SLLooper. More...

#include <coroutine>
#include <exception>
#include <optional>
#include <memory>
#include <functional>
Include dependency graph for Awaitable.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  swt::WorkAwaitable< T >
 Awaitable for executing work on background thread. More...
 
class  swt::WorkAwaitable< void >
 Specialization for void return type. More...
 
class  swt::DelayAwaitable
 Awaitable for delay operations. More...
 
class  swt::PostAwaitable< T >
 Awaitable for executing function on main thread. More...
 
class  swt::PostAwaitable< void >
 Specialization for void return type. More...
 

Namespaces

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

Detailed Description

Direct awaitable types for coroutine integration with SLLooper.

Author
Tran Anh Tai
Date
10/2025
Version
1.0.0

This file provides coroutine awaitable types that integrate with SLLooper for asynchronous execution. Includes WorkAwaitable for background work, PostAwaitable for main thread execution, and DelayAwaitable for timing operations.

Definition in file Awaitable.h.