10 lines
345 B
JavaScript
10 lines
345 B
JavaScript
/**
|
|
* Defines a small polyfill for process.nextTick. Eventually we'd like to replace this polyfill with
|
|
* a native implementation with the correct timing semantics.
|
|
*/
|
|
if (!process.nextTick) {
|
|
process.nextTick = (callback, ...args) => {
|
|
setTimeout(() => callback(...args), 0);
|
|
};
|
|
}
|
|
//# sourceMappingURL=polyfillNextTick.js.map
|