trackkit / dispatcher/types / DispatcherConfig
Type Alias: DispatcherConfig
DispatcherConfig =
object
Defined in: dispatcher/types.ts:42
Properties
batching?
optionalbatching:BatchConfig&object
Defined in: dispatcher/types.ts:43
Type Declaration
enabled
enabled:
boolean
performance?
optionalperformance:object
Defined in: dispatcher/types.ts:44
enabled?
optionalenabled:boolean
sampleRate?
optionalsampleRate:number
resilience?
optionalresilience: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?
optionaldefaultHeaders: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.