Skip to main content Link Search Menu Expand Document (external link)

SqlPersistedQueue.ts overview

Since v1.0.0


Exports Grouped by Category


constructors

make

Signature

declare const make: (
  options?:
    | {
        readonly tableName?: string | undefined
        readonly pollInterval?: Duration.DurationInput | undefined
        readonly lockRefreshInterval?: Duration.DurationInput | undefined
        readonly lockExpiration?: Duration.DurationInput | undefined
      }
    | undefined
) => Effect.Effect<PersistedQueue.PersistedQueueStore["Type"], SqlError, SqlClient.SqlClient | Scope.Scope>

Source

Since v1.0.0

layers

layerStore

Signature

declare const layerStore: (options?: {
  readonly tableName?: string | undefined
  readonly pollInterval?: Duration.DurationInput | undefined
  readonly lockRefreshInterval?: Duration.DurationInput | undefined
  readonly lockExpiration?: Duration.DurationInput | undefined
}) => Layer.Layer<PersistedQueue.PersistedQueueStore, SqlError, SqlClient.SqlClient>

Source

Since v1.0.0