Skip to content

Documentation / @etherfold/browser / TakeoverReason

Type Alias: TakeoverReason ​

TakeoverReason = "leader-gone" | "leader-backgrounded"

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

WHY a host became the writer after waiting behind another tab: the holder went away (closed, crashed, killed, or gave the lock back), or it was BACKGROUNDED and this visible tab took the lease from it.