asCompletable

fun Job.asCompletable(context: CoroutineContext): Completable

Converts this job to the hot reactive completable that signals with onCompleted when the corresponding job completes.

Every subscriber gets the signal at the same time. Unsubscribing from the resulting completable does not affect the original job in any way.

Parameters

context - – the coroutine context from which the resulting completable is going to be signalled