ExecutionObservation

Execution-local callbacks, subject to the same contract as ExecutionObserver.

Functions

Link copied to clipboard
abstract fun onComplete(completion: ExecutionCompletion)

Called once after the execution scope, including attached child coroutines, finishes and its context exits. Results may already be published; a later child failure cannot replace them. Unresolved producers do not delay this notification. External finalization may retain the actual completion timestamp.

Link copied to clipboard
open fun onDependency(producer: ProducerReference)

A composed result's origin, possibly still unresolved; never await its resolution here.