emitFinally

fun <T : Any> Completable.emitFinally(item: T): Single<T>

Creates a Single that will subscribe to this and always call onSuccess after this completes, regardless of onComplete or onError.

Return

the new Completable

Parameters

item

value to be emitted by onSuccess once source Completable calls onComplete or onError