Skip to content

Documentation / @etherfold/browser / IndexerPortOptions

Type Alias: IndexerPortOptions ​

IndexerPortOptions = object

Defined in: packages/browser/src/host/restart.ts:218

What a tab may say about the lifetime of the host it is connecting to.

Properties ​

restart? ​

readonly optional restart?: HostRestartOptions | false

Defined in: packages/browser/src/host/restart.ts:230

What it does about one. false never restarts, and is {attempts: 0} said out loud.


watch? ​

readonly optional watch?: HostWatchOptions | false

Defined in: packages/browser/src/host/restart.ts:228

How the port notices a death.

false never watches, and then a death is never CONCLUDED: nothing reports it and a call in flight waits until the tab closes the port. That is the right answer only where a host cannot die on its own -- the main-thread shape, where the host IS the tab -- and it is the wrong answer everywhere else, because the silence it leaves is exactly what ADR-0082 refuses.