DelayPropagatingContinuationInterceptorWrapper


A ContinuationInterceptor that wraps another interceptor and implements Delay. If the wrapped interceptor also implements Delay, the delay implementation is delegated to it, otherwise it's delegated to the default delay implementation (i.e. Dispatchers.Default). It is necessary that interceptors used in tests, with one of the TestDispatchers, propagate delay like this in order to work with the delay skipping that those dispatchers perform.

Summary

Public constructors

Cmn

Inherited functions

From kotlin.coroutines.ContinuationInterceptor
abstract Continuation<T>
<T : Any?> interceptContinuation(continuation: Continuation<T>)
Cmn
open Unit
Cmn
From kotlin.coroutines.CoroutineContext
open operator CoroutineContext
Cmn
From kotlin.coroutines.CoroutineContext.Element
open R
<R : Any?> fold(initial: R, operation: (CoroutineContext.Element, R) -> R)
Cmn
open operator E?
Cmn
open CoroutineContext
Cmn
From kotlinx.coroutines.Delay
open suspend Unit
delay(time: Long)

This function is deprecated. Deprecated without replacement as an internal method never intended for public use

Cmn
open DisposableHandle
invokeOnTimeout(
    timeMillis: Long,
    block: Runnable,
    context: CoroutineContext
)
Cmn
open Unit
scheduleResumeAfterDelay(
    timeMillis: Long,
    continuation: CancellableContinuation<Unit>
)
Cmn

Public constructors

DelayPropagatingContinuationInterceptorWrapper

DelayPropagatingContinuationInterceptorWrapper(
    wrappedInterceptor: ContinuationInterceptor?
)