doWork

abstract suspend fun doWork(job: JobExecution<I>): JobResult<O>(source)

Performs the work and reports its outcome.

An exception thrown out of this method is caught and reported as JobResult.Failure.