Skip to content

Documentation / @etherfold/browser / ForegroundTakeover

Type Alias: ForegroundTakeover ​

ForegroundTakeover = object

Defined in: packages/browser/src/tabElection.ts:73

How a visible tab takes the lease from a backgrounded leader. See TabElection.foregroundTakeover.

Properties ​

settleMs? ​

readonly optional settleMs?: number

Defined in: packages/browser/src/tabElection.ts:79

HOW LONG the handover condition (this tab visible, the leader hidden or unheard) must have held without a break before this tab takes the lease, in milliseconds. Defaults to DEFAULT_FOREGROUND_SETTLE_MS.