FastLED 3.9.7
Loading...
Searching...
No Matches
Callback

A void returning callback that can be used to call a function with a variable number of arguments.

A void returning callback that can be used to call a function with a variable number of arguments. If this binds to a non-static member function then self must be none null. If it's a free function then set self to nullptr.

Template Parameters
...ArgsThe types of the arguments to the function. <const char*> callback(this, [](void* self, const char* str) { static_cast<MyClass*>(self)->myFunction(str); });