Rx.Observable.prototype.subscribeOnCompleted(onCompleted, [thisArg])
Subscribes a function to invoke upon graceful termination of the observable sequence.
Arguments
onCompleted
(Function
): Function to invoke upon graceful termination of the observable sequence.[thisArg]
(Any
): Object to use as this when executing callback.
Returns
(Disposable): The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler.