SourceFunc task, int priority = DEFAULT, Cancellable? cancellable = null) throws Error
SourceFunc task, int priority = DEFAULT, Cancellable? cancellable = null) throws Error
Add a task to the queue
| task | the task |
| priority | the priority of the task |
| cancellable | optional cancellable for aborting the task |