MCPcopy
hub / github.com/Effect-TS/effect / layer

Function layer

packages/experimental/src/Persistence/Lmdb.ts:87–93  ·  view source on GitHub ↗
(
  options: Lmdb.RootDatabaseOptionsWithPath
)

Source from the content-addressed store, hash-verified

85 * @category layers
86 */
87export const layer = (
88 options: Lmdb.RootDatabaseOptionsWithPath
89): Layer.Layer<Persistence.BackingPersistence> =>
90 Layer.scoped(
91 Persistence.BackingPersistence,
92 make(options)
93 )
94
95/**
96 * @since 1.0.0

Callers 1

layerResultFunction · 0.70

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected