Skip to content

trackkit / dispatcher/types / DispatcherConfig

Type Alias: DispatcherConfig

DispatcherConfig = object

Defined in: dispatcher/types.ts:42

Properties

batching?

optional batching: BatchConfig & object

Defined in: dispatcher/types.ts:43

Type Declaration

enabled

enabled: boolean


performance?

optional performance: object

Defined in: dispatcher/types.ts:44

enabled?

optional enabled: boolean

sampleRate?

optional sampleRate: number


resilience?

optional resilience: ResilienceOptions

Defined in: dispatcher/types.ts:50

Optional resilience options used only for NetworkItem. If you never pass network items, this is ignored and the code path is dormant.


defaultHeaders?

optional defaultHeaders: Record<string, string>

Defined in: dispatcher/types.ts:56

Optional default headers merged into network sends (NetworkItem only). Per-item init?.headers takes precedence where keys overlap.