Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

web.set-timeout.js 477B

123456789101112
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var globalThis = require('../internals/global-this');
  4. var schedulersFix = require('../internals/schedulers-fix');
  5. var setTimeout = schedulersFix(globalThis.setTimeout, true);
  6. // Bun / IE9- setTimeout additional parameters fix
  7. // https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#dom-settimeout
  8. $({ global: true, bind: true, forced: globalThis.setTimeout !== setTimeout }, {
  9. setTimeout: setTimeout
  10. });