Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 403 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 403 Bytes

wait-for-it Build Status

Utility for creating efficient auto-save features.

Usage

waitForIt.setup(function(data) {
  // Save data to server
}, 5000);

// Push some data
waitForIt.push({some: 'data'});

// ... and again
waitForIt.push({more: 'new data'});

Testing