Skip to main content
Version: 2.x

Interface: OutboxWorkerOptions

Defined in: javascript/src/storage/outbox-worker.ts:21

Properties

attemptLimit?

optional attemptLimit?: number

Defined in: javascript/src/storage/outbox-worker.ts:28


batchSize?

optional batchSize?: number

Defined in: javascript/src/storage/outbox-worker.ts:22


concurrency?

optional concurrency?: number

Defined in: javascript/src/storage/outbox-worker.ts:23


leaseSeconds?

optional leaseSeconds?: number

Defined in: javascript/src/storage/outbox-worker.ts:24


maxRetryDelaySeconds?

optional maxRetryDelaySeconds?: number

Defined in: javascript/src/storage/outbox-worker.ts:27


onError?

optional onError?: (error) => void | Promise<void>

Defined in: javascript/src/storage/outbox-worker.ts:29

Parameters

error

unknown

Returns

void | Promise<void>


onEventOutcome?

optional onEventOutcome?: (outcome) => void | Promise<void>

Defined in: javascript/src/storage/outbox-worker.ts:30

Parameters

outcome

OutboxEventOutcome

Returns

void | Promise<void>


pollIntervalMs?

optional pollIntervalMs?: number

Defined in: javascript/src/storage/outbox-worker.ts:25


retryDelaySeconds?

optional retryDelaySeconds?: number

Defined in: javascript/src/storage/outbox-worker.ts:26