onComplete

abstract fun onComplete(completion: ExecutionCompletion)(source)

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.