Submits a runnable for asynchronous execution on a dispatch queue.
Submits a runnable for asynchronous execution on a dispatch queue.
The runnable to submit to the dispatch queue.
Submits a runnable for asynchronous execution on a dispatch queue if the queue is not currently executing, otherwise if the queue is currently executing, then the runnable is directly executed.
Submits a runnable for asynchronous execution on a dispatch queue if the queue is not currently executing, otherwise if the queue is currently executing, then the runnable is directly executed.
The runnable to submit to execute
A right-associative version of the #<<(Runnable) method
A right-associative version of the #<<(Runnable) method
Same as #apply(=>Unit)
Same as #apply(=>Unit)
Submits a partial function for asynchronous execution on a dispatch queue after the specified time delay.
Submits a partial function for asynchronous execution on a dispatch queue after the specified time delay.
The amount of time to delay
The units of time the delay is specified in
The runnable to submit to the dispatch queue.
Submits a partial function for asynchronous execution on a dispatch queue.
Submits a partial function for asynchronous execution on a dispatch queue.
Calls to #execute(Task) always return immediately after the runnable has
been submitted, and never wait for the runnable to be executed.
The target queue determines whether the runnable will be invoked serially or concurrently with respect to other runnables submitted to that same queue. Serial queues are processed concurrently with with respect to each other.
The system will retain this queue until the runnable has finished.
The function to submit to the dispatch queue.
Executes the supplied function on the dispatch queue and returns a Future that can be used to wait on the future result of the function.
Executes the supplied function on the dispatch queue and returns a Future that can be used to wait on the future result of the function.
Submits a partial function for repetitive asynchronous execution on a dispatch queue each time specified time delay elapses.
Submits a partial function for repetitive asynchronous execution on a dispatch queue each time specified time delay elapses. Returns a Closable which when closed will stop future executions of the task.
The amount of time to delay
The units of time the delay is specified in
The runnable to submit to the dispatch queue.
Creates a Task object which executes the supplied partial function on this executor when run.
Creates a Task object which executes the supplied partial function on this executor when run.
Executes the supplied function on the dispatch queue while blocking the calling thread as it waits for the response.
Executes the supplied function on the dispatch queue while blocking the calling thread as it waits for the response.
Submits a runnable for asynchronous execution on a dispatch queue if the queue is not currently executing, otherwise if the queue is currently executing, then the runnable is directly executed.
Submits a runnable for asynchronous execution on a dispatch queue if the queue is not currently executing, otherwise if the queue is currently executing, then the runnable is directly executed.
The runnable to submit to execute
A right-associative version of the #<<|(Runnable) method
Enriches the DispatchQueue interfaces with additional Scala friendly methods.