Registry / utility / rxkotlin

rxkotlin

JSON →
library2.4.0javamavenunverified

RxJava bindings for Kotlin, providing Kotlin-specific extensions and idioms.

<dependency> <groupId>io.reactivex.rxjava2</groupId> <artifactId>rxkotlin</artifactId> <version>2.4.0</version> </dependency>
INSTALL
IMPORT
SIG · RXKOTLIN
R
rxkotlin
utilityjavav2.4.0
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.

subscribeBy
io.reactivex.rxjava2.kotlin.subscribeBy

Subscribe to an Observable with Kotlin lambda syntax.

import io.reactivex.Observable import io.reactivex.rxjava2.kotlin.subscribeBy fun main() { Observable.just("Hello", "World") .subscribeBy( onNext = { println(it) }, onError = { it.printStackTrace() }, onComplete = { println("Done") } ) }
Debug
Known issues
breakingRxKotlin 2.x is for RxJava 2; use RxKotlin 3.x for RxJava 3.
fix
Check your RxJava version and use the corresponding RxKotlin artifact.
affects: 2.x
Upgrade
Version history
2.4.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
rxkotlin — mvn dependency:get rxkotlin · libregistry