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

Function layerWith

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

Source from the content-addressed store, hash-verified

785 * @since 4.0.0
786 */
787export const layerWith = (options: {
788 readonly prefix?: string | undefined
789}): Layer.Layer<RunnerStorage.RunnerStorage, SqlError, SqlClient.SqlClient | ShardingConfig.ShardingConfig> =>
790 Layer.effect(RunnerStorage.RunnerStorage)(make(options))

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected