Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Interface: ReconnectOptions

@roomful/core


@roomful/core / ReconnectOptions

Defined in: packages/core/src/types.ts:81

Configures reconnect timing and attempt limits.

optional backoffMs: number

Defined in: packages/core/src/types.ts:90

Sets the initial reconnect delay in milliseconds.


optional backoffMultiplier: number

Defined in: packages/core/src/types.ts:95

Multiplies the reconnect delay after each failed attempt.


optional maxAttempts: number

Defined in: packages/core/src/types.ts:85

Sets the maximum reconnect attempts before the room stops retrying.


optional maxBackoffMs: number

Defined in: packages/core/src/types.ts:100

Caps the reconnect delay in milliseconds.