☰
Debian Codegraph
@
3.1.1+~cs11.23.43-1
/
/
timers-ext
/
test
/
max-timeout.js
☽
☼
timers-ext/test/max-timeout.js
code
plain
raw
ISC
2012-2022, Mariusz Nowak <
[email protected]
>
debian/copyright
1
"use strict";
2
3
module.exports = function (t, a, d) {
4
var invoked, id;
5
id = setTimeout(function () { invoked = true; }, t);
6
setTimeout(function () {
7
a(invoked, undefined);
8
clearTimeout(id);
9
d();
10
}, 100);
11
};