{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}

DelayPropagatingContinuationInterceptorWrapper

kotlin.Any
   ↳ kotlin.coroutines.AbstractCoroutineContextElement
     ↳ androidx.compose.ui.test.internal.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

Inherited properties

From kotlin.coroutines.AbstractCoroutineContextElement

Public constructors

DelayPropagatingContinuationInterceptorWrapper

DelayPropagatingContinuationInterceptorWrapper(
    wrappedInterceptor: ContinuationInterceptor?
)