MCPcopy Create free account
hub / github.com/TanStack/db / isPendingAwareJob

Function isPendingAwareJob

packages/db/src/scheduler.ts:32–38  ·  view source on GitHub ↗
(dep: any)

Source from the content-addressed store, hash-verified

30}
31
32function isPendingAwareJob(dep: any): dep is PendingAwareJob {
33 return (
34 typeof dep === `object` &&
35 dep !== null &&
36 typeof dep.hasPendingGraphRun === `function`
37 )
38}
39
40/**
41 * Scoped scheduler that coalesces work by context and job.

Callers 1

flushMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected