MCPcopy Index your code
hub / github.com/Effect-TS/effect / layer

Function layer

packages/sql/src/SqlEventJournal.ts:280–284  ·  view source on GitHub ↗
(options?: {
  readonly eventLogTable?: string
  readonly remotesTable?: string
})

Source from the content-addressed store, hash-verified

278 * @category layers
279 */
280export const layer = (options?: {
281 readonly eventLogTable?: string
282 readonly remotesTable?: string
283}): Layer.Layer<EventJournal.EventJournal, SqlError, SqlClient.SqlClient> =>
284 Layer.effect(EventJournal.EventJournal, make(options))
285
286const EntrySqlPg = Schema.Struct({
287 id: Schema.Uint8ArrayFromSelf,

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected