# DelayPropagatingContinuationInterceptorWrapper

Artifact: [androidx.compose.ui:ui-test](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/test/internal/DelayPropagatingContinuationInterceptorWrapper.kt+class:androidx.compose.ui.test.internal.DelayPropagatingContinuationInterceptorWrapper) Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.4.0) Common/All
- Cmn

  ```
  @InternalTestApi
  abstract class DelayPropagatingContinuationInterceptorWrapper : AbstractCoroutineContextElement, ContinuationInterceptor, Delay
  ```

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [kotlin.coroutines.AbstractCoroutineContextElement](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-abstract-coroutine-context-element/index.html) ||
|   | ↳ | [androidx.compose.ui.test.internal.DelayPropagatingContinuationInterceptorWrapper](https://developer.android.com/reference/kotlin/androidx/compose/ui/test/internal/DelayPropagatingContinuationInterceptorWrapper) |

*** ** * ** ***

A `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation-interceptor/index.html` that wraps another interceptor and implements `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-delay/index.html` by delegating to the wrapped interceptor. It is necessary that interceptors used in tests, with one of the `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-test/kotlinx.coroutines.test/-test-dispatcher/index.html`s, propagate delay like this in order to work with the delay skipping that those dispatchers perform.

## Summary

| ### Public constructors |
|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/test/internal/DelayPropagatingContinuationInterceptorWrapper#DelayPropagatingContinuationInterceptorWrapper(kotlin.coroutines.ContinuationInterceptor)( wrappedInterceptor: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation-interceptor/index.html )` | Cmn |

| ### Inherited functions |
|---|
| From [kotlin.coroutines.ContinuationInterceptor](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation-interceptor/index.html) |---|---|---| | `abstract https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation/index.html<T>` | `<T : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation-interceptor/intercept-continuation.html(continuation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation/index.html<T>)` | Cmn | | `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation-interceptor/release-intercepted-continuation.html(continuation: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-continuation/index.html<*>)` | Cmn | |
| From [kotlin.coroutines.CoroutineContext](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html) |---|---|---| | `open operator https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html` | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/plus.html(context: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html)` | Cmn | |
| From [kotlin.coroutines.CoroutineContext.Element](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-element/index.html) |---|---|---| | `open R` | `<R : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html?> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-element/fold.html(initial: R, operation: (https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-element/index.html, R) -> R)` | Cmn | | `open operator E?` | `<E : https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-element/index.html> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-element/get.html(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-key/index.html<E>)` | Cmn | | `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html` | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-element/minus-key.html(key: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-key/index.html<*>)` | Cmn | |
| From [kotlinx.coroutines.Delay](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-delay/index.html) |---|---|---| | `open suspend https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `[delay](https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-delay/delay.html)(time: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)` **This function is deprecated.** Deprecated without replacement as an internal method never intended for public use | Cmn | | `open https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-disposable-handle/index.html` | `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-delay/invoke-on-timeout.html( timeMillis: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, block: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-runnable/index.html, context: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/index.html )` | Cmn | | `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-delay/schedule-resume-after-delay.html( timeMillis: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html, continuation: https://kotlinlang.org/api/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/-cancellable-continuation/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html> )` | Cmn | |

| ### Inherited properties |
|---|
| From [kotlin.coroutines.AbstractCoroutineContextElement](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-abstract-coroutine-context-element/index.html) |---|---|---| | `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-coroutine-context/-key/index.html<*>` | `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.coroutines/-abstract-coroutine-context-element/key.html` | Cmn | |

## Public constructors

### DelayPropagatingContinuationInterceptorWrapper

Cmn Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.4.0)

```
DelayPropagatingContinuationInterceptorWrapper(
    wrappedInterceptor: ContinuationInterceptor
)
```