MCPcopy
hub / github.com/aspen-cloud/triplit / markQueryAsSeen

Method markQueryAsSeen

packages/client/src/sync-engine.ts:583–586  ·  view source on GitHub ↗
(queryId: string)

Source from the content-addressed store, hash-verified

581 }
582
583 private async markQueryAsSeen(queryId: string) {
584 if (this.client.awaitReady) await this.client.awaitReady;
585 return this.client.db.setMetadata([QUERY_STATE_KEY, queryId], true);
586 }
587
588 /**
589 * @hidden

Callers 1

onMessageHandlerMethod · 0.95

Calls 1

setMetadataMethod · 0.80

Tested by

no test coverage detected