MCPcopy Create free account
hub / github.com/Effect-TS/effect / localEntry

Function localEntry

packages/sql/sqlite-node/test/SqlEventJournal.test.ts:38–38  ·  view source on GitHub ↗
(primaryKey: string)

Source from the content-addressed store, hash-verified

36}
37
38const localEntry = (primaryKey: string) => ({ event: "Repro", primaryKey, payload: new Uint8Array() })
39
40const remoteEntries = (entries: ReadonlyArray<EventJournal.Entry>) =>
41 entries.map((entry, remoteSequence) => new EventJournal.RemoteEntry({ remoteSequence, entry }))

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected