MCPcopy Index your code
hub / github.com/TanStack/db / flushAll

Method flushAll

packages/db/src/scheduler.ts:181–185  ·  view source on GitHub ↗

* Flush all contexts with pending work. Useful during tear-down.

()

Source from the content-addressed store, hash-verified

179 * Flush all contexts with pending work. Useful during tear-down.
180 */
181 flushAll(): void {
182 for (const contextId of Array.from(this.contexts.keys())) {
183 this.flush(contextId)
184 }
185 }
186
187 /** Clear all scheduled jobs for a context. */
188 clear(contextId: SchedulerContextId): void {

Callers 1

scheduler.test.tsFile · 0.80

Calls 3

flushMethod · 0.95
fromMethod · 0.80
keysMethod · 0.45

Tested by

no test coverage detected