trackkit / dispatcher/types / ConnectionOptions
Interface: ConnectionOptions
Defined in: dispatcher/types.ts:138
Network connection and offline handling options.
Properties
monitor?
optionalmonitor:boolean
Defined in: dispatcher/types.ts:145
Enable network connection monitoring.
When true, the dispatcher may record reachability state and adapt behaviour when offline.
offlineStorage?
optionalofflineStorage:boolean
Defined in: dispatcher/types.ts:152
Store events offline when network is unavailable.
Exact storage semantics are implementation-dependent.
checkInterval?
optionalcheckInterval:number
Defined in: dispatcher/types.ts:157
Interval in milliseconds to check network connection status.
syncInterval?
optionalsyncInterval:number
Defined in: dispatcher/types.ts:162
Interval in milliseconds to sync offline events when back online.
slowThreshold?
optionalslowThreshold:number
Defined in: dispatcher/types.ts:169
Threshold in milliseconds to consider a request "slow".
Used by performance monitoring / diagnostics.