defaultScheduler
TypeScript
1const defaultScheduler: ScheduleFunction = systemSetTimeoutZero;定义位置:packages/query-core/src/notifyManager.ts:19
通知管理器(notify manager)使用的默认调度函数。
该函数使用系统的 setTimeout(callback, 0) 来调度回调。
1const defaultScheduler: ScheduleFunction = systemSetTimeoutZero;定义位置:packages/query-core/src/notifyManager.ts:19
通知管理器(notify manager)使用的默认调度函数。
该函数使用系统的 setTimeout(callback, 0) 来调度回调。