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

Function layer

packages/effect/src/unstable/cluster/ShardingConfig.ts:231–232  ·  view source on GitHub ↗
(options?: Partial<ShardingConfig["Service"]>)

Source from the content-addressed store, hash-verified

229 * @since 4.0.0
230 */
231export const layer = (options?: Partial<ShardingConfig["Service"]>): Layer.Layer<ShardingConfig> =>
232 Layer.succeed(ShardingConfig)({ ...defaults, ...options })
233
234/**
235 * Layer that provides the default `ShardingConfig` values.

Callers 1

ShardingConfig.tsFile · 0.70

Calls 1

succeedMethod · 0.45

Tested by

no test coverage detected