FastLED 3.9.15
Loading...
Searching...
No Matches

◆ total_active_tasks()

size_t fl::AsyncManager::total_active_tasks ( ) const

Get total number of active tasks across all runners.

Definition at line 51 of file async.cpp.

51 {
52 size_t total = 0;
53 for (const auto* runner : mRunners) {
54 if (runner) {
55 total += runner->active_task_count();
56 }
57 }
58 return total;
59}
fl::vector< async_runner * > mRunners
Definition async.h:99

References mRunners.

Referenced by fl::async_active_tasks().

+ Here is the caller graph for this function: