rxjs-requestidlecallback-scheduler
rxjs-requestidlecallback-scheduler
provides scheduler implementation to requestIdleCallback
. Scheduling behavior follows AnimationFrameScheduler
while actions are schduled via requestIdleCallback instead.
Install
This has a peer dependencies of rxjs@5.*.*
, which will have to be installed as well
npm install --save-dev rxjs-requestidlecallback-scheduler
Usage
Observable...;
Building / Testing
Few npm scripts are supported for build / test code.
build
: Transpiles code to ES5 commonjs todist
.build:clean
: Clean up existing buildtest
: Run unit test. It's tailored for CI environment (Browser, coverage config)lint
: Run lint over all codebaseslint:staged
: Run lint only for staged changes. This'll be executed automatically with precommit hook.commit
: Commit wizard to write commit message