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.
continuation
- Continuation instance returned by this interceptor's interceptContinuation invocation.
© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines/-continuation-interceptor/release-intercepted-continuation.html