Defined in File slint-platform.h
This class is a nested type of Class Platform.
An task that is passed to the Platform::run_in_event_loop function and needs to be run in the event loop and not in any other thread.
Task(const Task&) = delete
inline void run() &&
Run the task.
Can only be invoked once and should only be called from the event loop.
- inline ~Task()