close

open override fun close()

Cancels this scope and all its child coroutines. Call when the resilience policy is no longer needed.

When this ResilientScope was created via CoroutineScope.asResilientScope, only the internal derived child scope is cancelled — the outer CoroutineScope is NOT affected.