1.0.3 • Published 8 years ago

rx-raf-throttle v1.0.3

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

rx-raf-throttle

Build Status npm Coverage Status Donate Bitcoin

throttles rx based streams using requestAnimationFrame

Installation

npm install rx-raf-throttle --save

rxRAFThrottle(source) ⇒ Observable

Throttles a stream using requestAnimationFrame. A value from the source stream is fired only once per requestAnimationFrame, see demo.

Kind: global function

ParamType
sourceObservable

Example

import {rxRAFThrottle} from 'rx-raf-throttle'
rxRAFThrottle(Rx.Observable.interval(1)).subscribe(x => console.log(x))
1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago