asrt
Automated System Runtime Testing library
Loading...
Searching...
No Matches
asrt::task_ctx Struct Reference

Event-loop context that owns a coroutine task scheduler. More...

#include <task.hpp>

Public Member Functions

auto & query (ecor::get_memory_resource_t)
 
auto & query (ecor::get_task_core_t)
 
void reschedule (ecor::schedulable &s)
 
 task_ctx (auto &mem_res)
 
void tick ()
 

Detailed Description

Event-loop context that owns a coroutine task scheduler.

Call tick() once per main-loop iteration to drive all pending tasks.


The documentation for this struct was generated from the following file: