Skip to main content

Interface: WorkflowStreamClientOptions

Properties​

batchInterval?​

optional batchInterval?: Duration

Interval between automatic flushes. Default: 2 seconds.


maxBatchSize?​

optional maxBatchSize?: number

Auto-flush when buffer reaches this size.


maxRetryDuration?​

optional maxRetryDuration?: Duration

Maximum time to retry a failed flush before throwing. Must be less than the workflow's publisherTtl (default 15 minutes) to preserve exactly-once delivery. Default: 10 minutes.