yield
Dominic Gannaway 9 months ago
parent 3430305bd6
commit 6b24dcddf9

@ -8,7 +8,6 @@ export const request_idle_callback =
: requestIdleCallback;
// Fallback for when scheduler.yield is not available
// TODO: find a proper polyfill for Safari, this doesn't work
export const schedule_yield =
// @ts-ignore
typeof scheduler === 'undefined'

Loading…
Cancel
Save