11cb0ef41Sopenharmony_ci'use strict';
21cb0ef41Sopenharmony_ciconst common = require('../common');
31cb0ef41Sopenharmony_ci
41cb0ef41Sopenharmony_ci// This isn't officially supported but nonetheless is something that is
51cb0ef41Sopenharmony_ci// currently possible and as such it shouldn't cause the process to crash
61cb0ef41Sopenharmony_ci
71cb0ef41Sopenharmony_ciconst t = setTimeout(common.mustCall(() => {
81cb0ef41Sopenharmony_ci  if (t._repeat) {
91cb0ef41Sopenharmony_ci    clearInterval(t);
101cb0ef41Sopenharmony_ci  }
111cb0ef41Sopenharmony_ci  t._repeat = 1;
121cb0ef41Sopenharmony_ci}, 2), 1);
13