Skip to content

StreamRunnerOptions

Defined in: src/streams.ts:100

Options for createStreamRunner.

Property Type Description Defined in
interval? AuditDuration Tick interval. Default "2s". src/streams.ts:103
lease? AuditDuration Lease duration when several processes run streams (needs compare-and-swap storage). Default "30s". src/streams.ts:107
maxBackoff? AuditDuration Max backoff between failed attempts. Default "10m". src/streams.ts:105
onError? (error, info) => void Called on every failed send. Default console.warn. src/streams.ts:109
streams StreamDefinition[] - src/streams.ts:101