MCPcopy
hub / github.com/Effect-TS/effect / layerStore

Function layerStore

packages/experimental/src/PersistedQueue/Redis.ts:395–402  ·  view source on GitHub ↗
(
  options: RedisOptions & {
    readonly prefix?: string | undefined
    readonly pollInterval?: Duration.DurationInput | undefined
    readonly lockRefreshInterval?: Duration.DurationInput | undefined
    readonly lockExpiration?: Duration.DurationInput | undefined
  }
)

Source from the content-addressed store, hash-verified

393 * @category Layers
394 */
395export const layerStore = (
396 options: RedisOptions & {
397 readonly prefix?: string | undefined
398 readonly pollInterval?: Duration.DurationInput | undefined
399 readonly lockRefreshInterval?: Duration.DurationInput | undefined
400 readonly lockExpiration?: Duration.DurationInput | undefined
401 }
402) => Layer.scoped(PersistedQueue.PersistedQueueStore, make(options))
403
404/**
405 * @since 1.0.0

Callers

nothing calls this directly

Calls 1

makeFunction · 0.50

Tested by

no test coverage detected