1.0.0 • Published 2 years ago

@happypathrun/rx-rx v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Rx Rx

@happypathrun/rx-rx contains utility functions that we use for Angular and RxJs.

Installation

npm install @happypathrun/rx-rx --save-dev or yarn add --dev @happypathrun/rx-rx

Testing

npm run test or yarn test

Requirements

This library uses TypeScript decorators, so you'll need to enable the experimentalDecorators compiler option in your tsconfig.json file.

Features

  • @Observe - A decorator that creates an observable for you based on a class property.
  • @AutoUnsubscribe and @Subscribes - A pair of decorators that automatically unsubscribes from observables when a component is destroyed.
  • @Timer - A decorator that logs the time it takes for a method to execute.
1.0.0

2 years ago