Skip to content

A directive to subscribe to multiple observable streams and provide emitted values as context with a readable API

Notifications You must be signed in to change notification settings

armanozak/ng-subscribe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NgSubscribeDirective

This project is a showcase of a structural directive in Angular that...

  • Subscribes to a single RxJS observable stream
  • Subscribes to multiple RxJS observable streams
  • Emits values without waiting for all streams
  • Provides a readable API for emitted values as context
  • Unsubscribes on destroy of host

Edit on StackBlitz ⚡️

Quickstart

  • Make sure Node.js 8+ is installed in your OS.
  • Clone the repo with git or download and unzip it.
  • Open terminal and go to project folder.
  • Run npm or yarn in terminal to install dependencies.
  • Run npm start or yarn start in terminal to initiate the development server.
  • Navigate to http://localhost:4200 in your browser.

About

A directive to subscribe to multiple observable streams and provide emitted values as context with a readable API

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages