Implementing A Publish And Subscribe (Pub/Sub) Service In Angular 2 Beta 14

added by JavaScript Kicks
4/21/2016 10:57:08 AM

839 Views

With Angular 2, we now have a number of event-related classes at our disposal. The EventEmitter handles all of our component output needs and the RxJS library handles, well, tons of other event-stream related functionality. As such, I thought it would be easy to leverage one of these classes in order to implement a Publish and Subscribe (pub/sub) services in Angular 2 Beta 14.


0 comments