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

Function layer

packages/platform/node/src/NodeRedis.ts:121–123  ·  view source on GitHub ↗
(
  options?: NodeRedisClientOptions | undefined
)

Source from the content-addressed store, hash-verified

119 * @since 4.0.0
120 */
121export const layer = (
122 options?: NodeRedisClientOptions | undefined
123): Layer.Layer<Redis.Redis | NodeRedis, Redis.RedisError> => Layer.effectContext(make(options))
124
125/**
126 * Provides `Redis` and `NodeRedis` services from `Config`-backed node-redis

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected