FastLED 3.9.15
Loading...
Searching...
No Matches
fl::task::Coroutine Class Reference

Detailed Description

Definition at line 38 of file task.cpp.hpp.

#include <task.cpp.hpp>

Public Types

using TaskFunction = fl::function<void()>
 

Public Member Functions

 Coroutine (const Coroutine &) FL_NOEXCEPT=delete
 
 Coroutine (Coroutine &&) FL_NOEXCEPT=delete
 
 Coroutine (fl::string name, TaskFunction function, size_t stack_size=4096, u8 priority=5, int core_id=-1)
 
 ~Coroutine () FL_NOEXCEPT=default
 
bool isRunning () const
 
Coroutineoperator= (const Coroutine &) FL_NOEXCEPT=delete
 
Coroutineoperator= (Coroutine &&) FL_NOEXCEPT=delete
 
void stop ()
 

Static Public Member Functions

static void exitCurrent ()
 

Private Attributes

platforms::TaskCoroutinePtr mImpl
 

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