Reactive Math
Helpers to write functional reactive calculators.
Installation
npm install --save rx-math
Basic Usage
This is an oversimplification of how one would actually use RxMath
. In reality, the source Observables
will come from a form input, data service, or perhaps even another RxMath
calculation. It's likely that you'll also want to create a class
to encapsulate a more complex calculation.
;; ; average.subscribe; // outputs "Average is 289.5"