File size: 217 Bytes
b5ea024
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"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);
};