Last updated 5 years ago
Was this helpful?
Notifies the observer of the end of the sequence.
var observer = Rx.Observer.create( x => console.log(`onNext: ${x}`), e => console.log(`onError: ${e}`), () => console.log('onCompleted')); observer.onCompleted(); // => onCompleted