Registry / networking / kotlinx-coroutines-rx2

kotlinx-coroutines-rx2

JSON →
library1.10.2javamavenunverified

Integration module providing coroutine adapters for RxJava 2, enabling seamless interop between coroutines and reactive streams.

<dependency> <groupId>org.jetbrains.kotlinx</groupId> <artifactId>kotlinx-coroutines-rx2</artifactId> <version>1.10.2</version> </dependency>
INSTALL
IMPORT
SIG · KOTLINX-COROUTINES
K
kotlinx-coroutines-rx2
networkingjavav1.10.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

awaitSingle
kotlinx.coroutines.rx2.awaitSingle

Converts a RxJava Single to a coroutine using awaitSingle.

import kotlinx.coroutines.* import kotlinx.coroutines.rx2.awaitSingle import io.reactivex.Single fun main() = runBlocking { val result = Single.just("Hello").awaitSingle() println(result) }
Debug
Known issues
breakingRequires RxJava 2 dependency; not compatible with RxJava 3.
fix
Use kotlinx-coroutines-rx3 for RxJava 3 integration.
affects: all
Upgrade
Version history
1.10.2latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
kotlinx-coroutines-rx2 — mvn dependency:get kotlinx-coroutines-rx2 · libregistry