(operation: string)
| 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( |
no test coverage detected
searching dependent graphs…