All Downloads are FREE. Search and download functionalities are using the official Maven repository.

.kotlinx.kotlinx-coroutines-reactive.1.9.0.source-code.ContextInjector.kt Maven / Gradle / Ivy

The newest version!
package kotlinx.coroutines.reactive

import kotlinx.coroutines.InternalCoroutinesApi
import org.reactivestreams.Publisher
import kotlin.coroutines.CoroutineContext

/** @suppress */
@InternalCoroutinesApi
public interface ContextInjector {
    /**
     * Injects `ReactorContext` element from the given context into the `SubscriberContext` of the publisher.
     * This API used as an indirection layer between `reactive` and `reactor` modules.
     */
    public fun  injectCoroutineContext(publisher: Publisher, coroutineContext: CoroutineContext): Publisher
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy