MCPcopy Index your code
hub / github.com/Effect-TS/effect / layerStore

Function layerStore

packages/sql/src/SqlPersistedQueue.ts:447–456  ·  view source on GitHub ↗
(options?: {
  readonly tableName?: 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

445 * @category layers
446 */
447export const layerStore = (options?: {
448 readonly tableName?: string | undefined
449 readonly pollInterval?: Duration.DurationInput | undefined
450 readonly lockRefreshInterval?: Duration.DurationInput | undefined
451 readonly lockExpiration?: Duration.DurationInput | undefined
452}): Layer.Layer<
453 PersistedQueue.PersistedQueueStore,
454 SqlError,
455 SqlClient.SqlClient
456> => Layer.scoped(PersistedQueue.PersistedQueueStore, make(options))

Callers

nothing calls this directly

Calls 1

makeFunction · 0.70

Tested by

no test coverage detected