I have Completable and transformer like this: ``` ...
# rx
s
I have Completable and transformer like this:
Copy code
fun applyLoadingDialogs(mvpView: BaseMvpView?): CompletableTransformer? {
        return CompletableTransformer {
            it.doOnSubscribe { mvpView?.showLoadingDialog() }
                    .doAfterTerminate { mvpView?.hideAllDialogs() }
        }
    }
What is the simplest way to show loading dialog only when completable didn't emitted any terminate event for some period of time?