MCPcopy Create free account
hub / github.com/effect-app/libs / RedisClientLayer

Function RedisClientLayer

packages/infra/src/redis-client.ts:107–108  ·  view source on GitHub ↗
(storageUrl: string)

Source from the content-addressed store, hash-verified

105}>()("@services/RedisClient") {}
106
107export const RedisClientLayer = (storageUrl: string) =>
108 Layer.effect(RedisClient, makeRedisClient(makeRedis(storageUrl)))
109
110function createClient(makeClient: () => Client) {
111 const client = makeClient()

Callers

nothing calls this directly

Calls 2

makeRedisClientFunction · 0.85
makeRedisFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…