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

Function layer

packages/effect/src/unstable/eventlog/SqlEventJournal.ts:313–317  ·  view source on GitHub ↗
(options?: {
  readonly entryTable?: string
  readonly remotesTable?: string
})

Source from the content-addressed store, hash-verified

311 * @since 4.0.0
312 */
313export const layer = (options?: {
314 readonly entryTable?: string
315 readonly remotesTable?: string
316}): Layer.Layer<EventJournal.EventJournal, SqlError.SqlError, SqlClient.SqlClient> =>
317 Layer.effect(EventJournal.EventJournal)(make(options))
318
319const EntryRow = Schema.Struct({
320 id: EventJournal.EntryId,

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected