( options: Config.Wrap<NodeRedisClientOptions> )
| 143 | export const layerConfig: ( |
| 144 | options: Config.Wrap<NodeRedisClientOptions> |
| 145 | ) => Layer.Layer<Redis.Redis | NodeRedis, Redis.RedisError | Config.ConfigError> = ( |
| 146 | options: Config.Wrap<NodeRedisClientOptions> |
| 147 | ): Layer.Layer<Redis.Redis | NodeRedis, Redis.RedisError | Config.ConfigError> => |
| 148 | Layer.effectContext( |
| 149 | Config.unwrap(options).pipe( |
| 150 | Effect.flatMap(make) |
| 151 | ) |
| 152 | ) |