From RxJS 4 to 5
A cheatsheet summary of https://github.com/ReactiveX/RxJS/blob/master/MIGRATION.md
Observeris now an interface, and is implemented bySubscriberobserver.onNext('value')=>observer.next('value')subscription.dispose()=>subscription.unsubscribe()- All subscriptions are composite with
addandremove flatMap=>mergeMap(butflatMapstill works as alias)flatMapFirst=>exhaustMapflatMapLatest=>switchMapjust=>ofselect=>mapselectConcat=>concatMapmap(function)=> the same, butmap(value)=>mapTo(value)