assertFinished

abstract suspend fun assertFinished()(source)

Suspends until the worker emits an output or finishes.

Throws an AssertionError if an output was emitted or the Worker has an error.