CoroutineProgressReporter

Captures progress information about the currently running task.

KotlinX.Coroutines uses a CoroutineContext object throughout suspend functions to store information about the currently-running task. To report the current Progress of a coroutine, CoroutineProgressReporter is added to its context.

Constructors

Link copied to clipboard
constructor(reporter: ProgressReporter)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val key: CoroutineContext.Key<*>

Functions

Link copied to clipboard
open override fun <R> fold(initial: R, operation: (R, CoroutineContext.Element) -> R): R
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Link copied to clipboard
open operator fun plus(context: CoroutineContext): CoroutineContext
Link copied to clipboard
open override fun report(progress: Progress)
Link copied to clipboard
open override fun toString(): String