interceptContinuation

open fun <T> interceptContinuation(
    continuation: Continuation<T>
): Continuation<T>
(source)

Returns continuation that wraps the original continuation, thus intercepting all resumptions.