W3cubDocs

/Kotlin

releaseInterceptedContinuation

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
open fun releaseInterceptedContinuation(
    continuation: Continuation<*>)

Invoked for the continuation instance returned by interceptContinuation when the original continuation completes and will not be used anymore. This function is invoked only if interceptContinuation had returned a different continuation instance from the one it was invoked with.

Default implementation does nothing.

Parameters

continuation - Continuation instance returned by this interceptor's interceptContinuation invocation.