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

asWorker

fun <T : Any> Single<T>.asWorker(): Worker<Unit, T>
Deprecated: Use com.squareup.workflow.Workflow

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