singleDefer

fun <T> singleDefer(supplier: () -> Single<T>): Single<T>

Calls the supplier for each new observer and subscribes to the returned Single.

Please refer to the corresponding RxJava document.