FastLED 3.10.6
Loading...
Searching...
No Matches

◆ cancel()

Handle & fl::task::Handle::cancel ( )

Prevents future scheduled executions of the task.

Returns
This handle, for fluent configuration.

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

294 {
295 if (mImpl) {
296 mImpl->set_canceled();
297 }
298 return *this;
299}
shared_ptr< ITaskImpl > mImpl
Definition task.h:245

References Handle(), and mImpl.

Referenced by operator=().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: