effect-io-ai

Package: @effect/platform-bun
Module: BunRedis

BunRedis.layerConfig

Creates scoped Bun Redis layers from configurable Redis options, closing the underlying client when the scope finalizes.

Signature

declare const layerConfig: (options: Config.Wrap<{ readonly url?: string; } & RedisOptions>) => Layer.Layer<Redis.Redis | BunRedis, Config.ConfigError>

Source

Since v4.0.0