10 lines
534 B
JavaScript
10 lines
534 B
JavaScript
"use strict";
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports.ghQueueMicrotask = void 0;
|
|
// We check for typeof requestAnimationFrame because of SSR
|
|
// Functions are bound to null to avoid issues with scope when using Metro inline requires.
|
|
const ghQueueMicrotask = exports.ghQueueMicrotask = typeof setImmediate === 'function' ? setImmediate.bind(null) : typeof requestAnimationFrame === 'function' ? requestAnimationFrame.bind(null) : queueMicrotask.bind(null);
|
|
//# sourceMappingURL=ghQueueMicrotask.js.map
|