runToEndOfTasksSync

open override fun runToEndOfTasksSync()

Runs through all tasks on the background thread, blocking until it completes successfully or throws an exception.