onComplete

abstract fun onComplete(@Nullable data: T)

Called when the task completes successfully.

Parameters

data

the result data, or null if the task produces no output