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

Function layer

packages/experimental/src/Persistence/Redis.ts:109–115  ·  view source on GitHub ↗
(
  options: RedisOptions
)

Source from the content-addressed store, hash-verified

107 * @category layers
108 */
109export const layer = (
110 options: RedisOptions
111): Layer.Layer<Persistence.BackingPersistence> =>
112 Layer.scoped(
113 Persistence.BackingPersistence,
114 make(options)
115 )
116
117/**
118 * @since 1.0.0

Callers 1

layerResultFunction · 0.70

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected