Skip to content
Source
Sign inSign up
TanStack/query
Open History to see the last commit

defaultScheduler.md

13 lines403 Bytes

1---
2id: defaultScheduler
3title: defaultScheduler
4---
5​
6```ts
7const defaultScheduler: ScheduleFunction = systemSetTimeoutZero;
8```
9​
10Defined in: [packages/query-core/src/notifyManager.ts:19](https://github.com/TanStack/query/blob/main/packages/query-core/src/notifyManager.ts#L19)
11​
12Default scheduling function used by the notify manager.
13Schedules the callback with the system's `setTimeout(callback, 0)`.