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

Function layerStorage

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

Source from the content-addressed store, hash-verified

938 * @since 4.1.0
939 */
940export const layerStorage = (options: {
941 readonly prefix?: string | undefined
942}): Layer.Layer<RunnerStorage.RunnerStorage, never, SqlClient.SqlClient | ShardingConfig.ShardingConfig> =>
943 Layer.effect(RunnerStorage.RunnerStorage)(makeStorage(options))
944
945/**
946 * Provides SQL-backed `RunnerStorage` with a custom table prefix,

Callers

nothing calls this directly

Calls 1

makeStorageFunction · 0.50

Tested by

no test coverage detected