Type Alias: ConnectionConfig
ConnectionConfig =
object
Defined in: packages/react-native-client/src/common/client.ts:4
Properties
reconnectConfig?
optional
reconnectConfig:object
Defined in: packages/react-native-client/src/common/client.ts:13
Configuration for automatic reconnection sdk uses a linear backoff algorithm, that is the formula for the delay of the nth attempt is n * delayMs + initialDelayMs
Pass 0 for maxAttempts to disable automatic reconnection
Name | Type |
---|---|
delayMs? | number |
initialDelayMs? | number |
maxAttempts? | number |