.kotlinx.kotlinx-coroutines-reactive.1.10.0.source-code.ContextInjector.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlinx-coroutines-reactive Show documentation
Show all versions of kotlinx-coroutines-reactive Show documentation
Coroutines support libraries for Kotlin
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