Interface: ReconnectOptions
@roomful/core / ReconnectOptions
Interface: ReconnectOptions
Section titled “Interface: ReconnectOptions”Defined in: packages/core/src/types.ts:81
Configures reconnect timing and attempt limits.
Properties
Section titled “Properties”backoffMs?
Section titled “backoffMs?”
optionalbackoffMs:number
Defined in: packages/core/src/types.ts:90
Sets the initial reconnect delay in milliseconds.
backoffMultiplier?
Section titled “backoffMultiplier?”
optionalbackoffMultiplier:number
Defined in: packages/core/src/types.ts:95
Multiplies the reconnect delay after each failed attempt.
maxAttempts?
Section titled “maxAttempts?”
optionalmaxAttempts:number
Defined in: packages/core/src/types.ts:85
Sets the maximum reconnect attempts before the room stops retrying.
maxBackoffMs?
Section titled “maxBackoffMs?”
optionalmaxBackoffMs:number
Defined in: packages/core/src/types.ts:100
Caps the reconnect delay in milliseconds.