Lines Matching refs:fn
11 const fn = common.mustCall(10); constant
12 fn.call = 'not a function';
13 fn.apply = 'also not a function';
14 setTimeout(fn, 1);
15 setTimeout(fn, 1, 'oneArg');
16 setTimeout(fn, 1, 'two', 'args');
17 setTimeout(fn, 1, 'three', '(3)', 'args');
18 setTimeout(fn, 1, 'more', 'than', 'three', 'args');
20 setImmediate(fn, 1);
21 setImmediate(fn, 1, 'oneArg');
22 setImmediate(fn, 1, 'two', 'args');
23 setImmediate(fn, 1, 'three', '(3)', 'args');
24 setImmediate(fn, 1, 'more', 'than', 'three', 'args');
29 const fn = common.mustCall(() => { clearInterval(interval); }); constant
30 fn.call = 'not a function';
31 fn.apply = 'also not a function';
32 const interval = setInterval(fn, 1, ...args);