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

Function layerWith

packages/cluster/src/SqlRunnerStorage.ts:726–729  ·  view source on GitHub ↗
(options: {
  readonly prefix?: string | undefined
})

Source from the content-addressed store, hash-verified

724 * @category Layers
725 */
726export const layerWith = (options: {
727 readonly prefix?: string | undefined
728}): Layer.Layer<RunnerStorage.RunnerStorage, SqlError, SqlClient.SqlClient | ShardingConfig.ShardingConfig> =>
729 Layer.scoped(RunnerStorage.RunnerStorage)(make(options))

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected