time-later
v0.1.1
Published
returns a bluebird promise delayed specified amount of time
Downloads
1
Readme
time-later
returns a bluebird promise delayed specified amount of time
Install
npm install time-later
Usage
"use strict";
const later = require("time-later");
later(1000).then(()=>console.log("after 1000 millisecond"))
Related
- delay - Returns a promise delayed specified amount of time
- immediate-promise - Returns a promise resolved in the next event loop - think
setImmediate()