Rx.Observer.prototype.onCompleted()
Notifies the observer of the end of the sequence.
Example
var observer = Rx.Observer.create(
x => console.log(`onNext: ${x}`),
e => console.log(`onError: ${e}`),
() => console.log('onCompleted'));
observer.onCompleted();
// => onCompleted