subscribe

fun Completable.subscribe(onSubscribe: (Disposable) -> Unit? = null, onError: (Throwable) -> Unit? = null, onComplete: () -> Unit? = null): Disposable

Subscribes to the Completable and provides event callbacks.

Please refer to the corresponding RxJava document.