at-least
Some function just run too fast
Usage
var least = require('at-least');
least(function(cb) {
$.get('/data.json', function() {
cb();
});
}, 1000, function() { // invoked after at least 1000ms
console.log('done');
});
License
ISC
Some function just run too fast
var least = require('at-least');
least(function(cb) {
$.get('/data.json', function() {
cb();
});
}, 1000, function() { // invoked after at least 1000ms
console.log('done');
});
ISC
npm i at-least
1
1.0.0
ISC