source: imaps-frontend/node_modules/core-js/modules/web.set-immediate.js@ 79a0317

main
Last change on this file since 79a0317 was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 3 days ago

F4 Finalna Verzija

  • Property mode set to 100644
File size: 564 bytes
Line 
1'use strict';
2var $ = require('../internals/export');
3var globalThis = require('../internals/global-this');
4var setTask = require('../internals/task').set;
5var schedulersFix = require('../internals/schedulers-fix');
6
7// https://github.com/oven-sh/bun/issues/1633
8var setImmediate = globalThis.setImmediate ? schedulersFix(setTask, false) : setTask;
9
10// `setImmediate` method
11// http://w3c.github.io/setImmediate/#si-setImmediate
12$({ global: true, bind: true, enumerable: true, forced: globalThis.setImmediate !== setImmediate }, {
13 setImmediate: setImmediate
14});
Note: See TracBrowser for help on using the repository browser.