# await

abstract fun await()(source)

Blocks until all work associated with this queue is complete. Note that when using this method inside a task action, it will block completion of the task action until the submitted work is complete. This means that other tasks from the same project cannot be run in parallel while the task action is still executing.

#### Throws

org.gradle.workers.WorkerExecutionException

when a failure occurs while executing the work.