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