@happypathrun/rx-rx

1.0.0 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @happypathrun/rx-rx

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

19.5 kB

Total Files

21

Last publish

Collaborators

  • systems-happypathrun