FastLED 3.9.15
Loading...
Searching...
No Matches
fl::AsyncManager Class Reference

Detailed Description

Async task manager (singleton)

Definition at line 79 of file async.h.

#include <async.h>

+ Collaboration diagram for fl::AsyncManager:

Public Member Functions

bool has_active_tasks () const
 Check if there are any active async tasks.
 
void register_runner (async_runner *runner)
 Register an async runner.
 
size_t total_active_tasks () const
 Get total number of active tasks across all runners.
 
void unregister_runner (async_runner *runner)
 Unregister an async runner.
 
void update_all ()
 Update all registered async runners.
 

Static Public Member Functions

static AsyncManagerinstance ()
 

Private Attributes

fl::vector< async_runner * > mRunners
 

The documentation for this class was generated from the following files: