MCPcopy Create free account
hub / github.com/effect-app/libs / annotate

Function annotate

packages/infra/src/ClusterCosmos.ts:368–369  ·  view source on GitHub ↗
(operation: string)

Source from the content-addressed store, hash-verified

366 const container = yield* createContainer(prefix)().pipe(Effect.orDie)
367 const containerId = `${prefix}cluster`
368 const annotate = (operation: string) =>
369 annotateDb({ operation, system: "cosmosdb", collection: containerId, entity: "cluster-message-storage" })
370
371 const readMessage = (id: string, partitionKey: string) =>
372 Effect.tryPromise(() => container.item(id, partitionKey).read<MessageDoc>()).pipe(

Callers 1

ClusterCosmos.tsFile · 0.70

Calls 1

annotateDbFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…