Package-level declarations

Functions

Link copied to clipboard
fun suspend () -> Unit.asCompletable(): Completable
fun suspend CoroutineScope.() -> Unit.asCompletable(): Completable
Link copied to clipboard
fun Scheduler.asCoroutineDispatcher(): CoroutineDispatcher
Link copied to clipboard
fun CoroutineContext.asDisposable(): Disposable
fun Job.asDisposable(): Disposable
Link copied to clipboard
@ExperimentalCoroutinesApi
fun <T> Observable<T>.asFlow(): Flow<T>
Link copied to clipboard
fun <T> suspend () -> T.asMaybe(): Maybe<T>
fun <T> suspend CoroutineScope.() -> T.asMaybe(): Maybe<T>
Link copied to clipboard
fun <T> Flow<T>.asObservable(): Observable<T>

Launches coroutine and collects the Flow for every subscription. Please note that it uses runBlocking in Kotlin/Native. Please read the README for more information.

Link copied to clipboard
fun CoroutineContext.asScheduler(): Scheduler
Link copied to clipboard
fun <T> suspend () -> T.asSingle(): Single<T>
fun <T> suspend CoroutineScope.() -> T.asSingle(): Single<T>
Link copied to clipboard
fun completableFromCoroutine(block: suspend CoroutineScope.() -> Unit): Completable
Link copied to clipboard
fun <T> maybeFromCoroutine(block: suspend CoroutineScope.() -> T): Maybe<T>

Launches coroutine and calls the provided block for every subscription. Please note that it uses runBlocking in Kotlin/Native. Please read the README for more information.

Link copied to clipboard
fun <T> singleFromCoroutine(block: suspend CoroutineScope.() -> T): Single<T>

Launches coroutine and calls the provided block for every subscription. Please note that it uses runBlocking in Kotlin/Native. Please read the README for more information.