@CheckReturnValue inline fun <T> Flowable<T>.autoDisposable(lifecycleOwner: LifecycleOwner, untilEvent: Event? = null): FlowableSubscribeProxy<T>
Extension that proxies to Flowable.as + AutoDispose.autoDisposable and takes an untilEvent when subscription will be disposed.
lifecycleOwner - The lifecycle owner.
untilEvent - Optional lifecycle event when subscription will be disposed.