f-sync

1.0.2 • Public • Published

f-sync

queue work to happen within frames to allow the UI some time to update.

Install

npm install f-sync

Usage

var fSync = require('f-sync');

var queue = fSync(options);

queue(function(){
    // Some work to be done
});

// cancel queue mid-flight
queue.cancel(); // no more work will happen.

Example

npm run watch-example

then open example/index.html in a browser.

Readme

Keywords

none

Package Sidebar

Install

npm i f-sync

Weekly Downloads

1

Version

1.0.2

License

ISC

Last publish

Collaborators

  • korynunn