Skip to content

trackkit / dispatcher/types / ResolvedBatchingOptions

Interface: ResolvedBatchingOptions ​

Defined in: dispatcher/types.ts:133

Internal

Fully resolved batching options with defaults applied.

See ​

BatchingOptions

Extends ​

Properties ​

enabled ​

enabled: boolean

Defined in: dispatcher/types.ts:93

Enable event batching to reduce network requests.

Inherited from ​

BatchingOptions.enabled


maxSize ​

maxSize: number

Defined in: dispatcher/types.ts:100

Maximum number of events per batch.

When reached, the batch is flushed even if maxWait has not elapsed.

Inherited from ​

BatchingOptions.maxSize


maxWait ​

maxWait: number

Defined in: dispatcher/types.ts:105

Maximum time in milliseconds to wait before sending an incomplete batch.

Inherited from ​

BatchingOptions.maxWait


maxBytes ​

maxBytes: number

Defined in: dispatcher/types.ts:112

Maximum payload size in bytes per batch.

Useful for staying under gateway/proxy limits.

Inherited from ​

BatchingOptions.maxBytes


concurrency ​

concurrency: number

Defined in: dispatcher/types.ts:117

Number of batches that can be in-flight simultaneously.

Inherited from ​

BatchingOptions.concurrency


deduplication ​

deduplication: boolean

Defined in: dispatcher/types.ts:124

Remove duplicate events within the same batch.

Deduplication is based on dispatcher-level heuristics.

Inherited from ​

BatchingOptions.deduplication

Released under the MIT License.