securityos/node_modules/@cowasm/memfs/lib/setImmediate.js

9 lines
364 B
JavaScript
Raw Normal View History

2024-09-06 15:32:35 +00:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
let _setImmediate;
if (typeof setImmediate === "function")
_setImmediate = setImmediate.bind(typeof globalThis !== "undefined" ? globalThis : global);
else
_setImmediate = setTimeout.bind(typeof globalThis !== "undefined" ? globalThis : global);
exports.default = _setImmediate;