legacy-workflow-rx2 / com.squareup.workflow.legacy.rx2 / io.reactivex.Single

Extensions for io.reactivex.Single

asWorker

fun <T : Any> Single<T>.asWorker(): Worker<Unit, T>

Creates a Worker that will report the Single's eventual value as its result.