1.0.0 • Published 10 years ago
timeout-thunk v1.0.0
timeout-thunk 
setTimeout thunk.
Install
$ npm install --save timeout-thunk
Usage
var timeoutThunk = require('timeout-thunk');
timeoutThunk(7337)(function() {
console.log('Meow!');
});
// Logs Meow! after 7337ms.
API
timeoutThunk -> timeOut -> func
timeOut
Required
Type: Number
Time in ms.
func
Type: function
function to execute.
License
MIT © hemanth
1.0.0
10 years ago