Source set: Common
public abstract class DelayPropagatingContinuationInterceptorWrapper(
wrappedInterceptor: ContinuationInterceptor
) :
AbstractCoroutineContextElement(ContinuationInterceptor),
ContinuationInterceptor,
// Coroutines will internally use the Default dispatcher as the delay if the
// ContinuationInterceptor does not implement Delay.
Delay by ((wrappedInterceptor as? Delay)
?: error(
"wrappedInterceptor of DelayPropagatingContinuationInterceptorWrapper must implement Delay"
))