add


Description:

public virtual void add (owned SourceFunc task, int priority = DEFAULT, Cancellable? cancellable = null) throws Error

Add a task to the queue

Parameters:

task the task
priority the priority of the task
cancellable optional cancellable for aborting the task