Documentation / @etherfold/browser / HostDeathCause
Type Alias: HostDeathCause ​
HostDeathCause =
"unresponsive"
Defined in: packages/browser/src/host/restart.ts:54
HOW A DEATH WAS CONCLUDED.
One member, because there is exactly one thing a tab can actually observe: no browser fires an event when it evicts a dedicated worker, Worker.terminate() is silent by construction, and MessagePort's close event is not on every engine this package ships to. So what a port works from is SILENCE -- it probes a host that has said nothing, and a probe that is not answered is a death.
Written as a union rather than as an absence so that a shape which CAN report a death directly (a SharedWorker whose port closes, say) adds a member here instead of a second event beside this one.