initial commit
This commit is contained in:
13
node_modules/timers-ext/test/max-timeout.js
generated
vendored
Normal file
13
node_modules/timers-ext/test/max-timeout.js
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
module.exports = function (t, a, d) {
|
||||
var invoked, id;
|
||||
id = setTimeout(function () {
|
||||
invoked = true;
|
||||
}, t);
|
||||
setTimeout(function () {
|
||||
a(invoked, undefined);
|
||||
clearTimeout(id);
|
||||
d();
|
||||
}, 100);
|
||||
};
|
||||
Reference in New Issue
Block a user