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

Method notify

packages/offline-transactions/tests/harness.ts:88–92  ·  view source on GitHub ↗
(isLeader: boolean)

Source from the content-addressed store, hash-verified

86 }
87
88 private notify(isLeader: boolean): void {
89 for (const listener of this.listeners) {
90 listener(isLeader)
91 }
92 }
93}
94
95type TestMutationFn = (

Callers 3

requestLeadershipMethod · 0.95
releaseLeadershipMethod · 0.95
setLeaderMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected