Sets the default fallback behavior for scheduleNextTick() when process.nextTick is not available.
scheduleNextTick()
process.nextTick
Optional
The fallback options to apply. Passing undefined resets options to defaults.
undefined
0.15.0
setNextTickFallbackOptions({ useTimeout: true});scheduleNextTick(() => { console.log("timer-backed nextTick fallback");});setNextTickFallbackOptions(); Copy
setNextTickFallbackOptions({ useTimeout: true});scheduleNextTick(() => { console.log("timer-backed nextTick fallback");});setNextTickFallbackOptions();
Sets the default fallback behavior for
scheduleNextTick()whenprocess.nextTickis not available.