transformProgress

suspend fun <R> transformProgress(createChildReporter: (ProgressReporter) -> ProgressReporter, block: suspend () -> R): R(source)

Passes the current ProgressReporter to createChildReporter to create a new child reporter of the current coroutine, and adds it to block's context.