onCompleted

@ObjCName(swiftName = "onCompleted")
abstract fun onCompleted(taskId: String, attempt: Int, result: WorkResult)

Called when BackgroundWorker.execute returns (regardless of WorkResult).

Parameters

attempt

0-based counter matching the value passed to onStarted.

result

the outcome returned by BackgroundWorker.execute.