UNPKG

happner

Version:

distributed application engine with evented storage and mesh services

13 lines (11 loc) 251 B
module.exports = function () { return new SlowStartup(); }; function SlowStartup() { this.init = function (delay, callback) { setTimeout(function () { console.log('started after delay:::', delay); callback(); }, delay); } }