Skip to main content

Interface: WorkflowStreamClientOptions

workflowStreamsClient.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.