A dispatch queue that simply passes all its tasks to its execution context.
A dispatch queue that simply passes all its tasks to its execution context.
- Companion
- object
Value members
Concrete methods
Inherited methods
Executes a task on this queue. You can use this to execute a piece of code on another dispatch queue than the one default to the parent code block, i.e.
Executes a task on this queue. You can use this to execute a piece of code on another dispatch queue than the one default to the parent code block, i.e.
... // running on Threading.defaultContext
UiDispatchQueue.Ui {
... // this will run on the UI thread
}
...
- Type Params
- A
the type of the task result
- Value Params
- task
an operation to perform on this queue.
- Returns
a cancellable future which will finish with the result of the task
- Inherited from
- DispatchQueue
If the queue is a limited one, some tasks may need to wait before being executed.
If the queue is a limited one, some tasks may need to wait before being executed.
- Returns
true if there is a task waiting in the queue to be executed after one of the current one finishes, false otherwise.
- Inherited from
- DispatchQueue
- Value Params
- t
- the error that occured when executing a task on this queue.
- Todo
Currently not used. Left here as a reminder that in the future we may provide logging functionality.
- Definition Classes
- DispatchQueue -> ExecutionContext
- Inherited from
- DispatchQueue