1 line
663 B
Plaintext
1 line
663 B
Plaintext
{"version":3,"file":"polyfillNextTick.js","sourceRoot":"","sources":["../../src/timer/polyfillNextTick.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE;IACrB,OAAO,CAAC,QAAQ,GAAG,CAAC,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE;QACvC,UAAU,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC;IACzC,CAAC,CAAC;CACH","sourcesContent":["/**\n * Defines a small polyfill for process.nextTick. Eventually we'd like to replace this polyfill with\n * a native implementation with the correct timing semantics.\n */\n\nif (!process.nextTick) {\n process.nextTick = (callback, ...args) => {\n setTimeout(() => callback(...args), 0);\n };\n}\n"]} |