• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1'use strict';
2const common = require('../common');
3
4// This isn't officially supported but nonetheless is something that is
5// currently possible and as such it shouldn't cause the process to crash
6
7const t = setTimeout(common.mustCall(() => {
8  if (t._repeat) {
9    clearInterval(t);
10  }
11  t._repeat = 1;
12}, 2), 1);
13