forked from zhurui/management
10 lines
148 B
JavaScript
10 lines
148 B
JavaScript
|
'use strict';
|
||
|
|
||
|
const internals = {};
|
||
|
|
||
|
|
||
|
module.exports = function (timeout) {
|
||
|
|
||
|
return new Promise((resolve) => setTimeout(resolve, timeout));
|
||
|
};
|