MCPcopy Create free account
hub / github.com/instantdb/instant / notifyCbs

Method notifyCbs

client/packages/core/src/SyncTable.ts:633–637  ·  view source on GitHub ↗
(hash: string, event: CallbackEvent<any, any, any>)

Source from the content-addressed store, hash-verified

631 }
632
633 private notifyCbs(hash: string, event: CallbackEvent<any, any, any>) {
634 for (const cb of this.callbacks[hash] || []) {
635 cb(event);
636 }
637 }
638
639 public onSyncLoadBatch(msg: SyncLoadBatchMsg) {
640 const subscriptionId = msg['subscription-id'];

Callers 4

onSyncLoadBatchMethod · 0.95
onSyncInitFinishMethod · 0.95
onSyncUpdateTriplesMethod · 0.95
onStartSyncErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected