//reactivestate/com.ensody.reactivestate.android/onPauseOnce
onPauseOnce¶
[android]\ fun LifecycleOwner.onPauseOnce(block: () -> Unit): Disposable
Runs the given block once on the next Lifecycle.Event.ON_PAUSE
.
Return¶
Disposable that allows removing the observer.