RemoteConnectContext
Defined in: packages/core/src/adapters/remote-browser.ts:38
What a function connect is told about the connection it is asked for.
Properties
Section titled “Properties”attempt
Section titled “attempt”attempt:
number
Defined in: packages/core/src/adapters/remote-browser.ts:49
This connection’s attempt, from 1; each retry connects anew.
buildId
Section titled “buildId”buildId:
string
Defined in: packages/core/src/adapters/remote-browser.ts:41
The StoryShelf build; the same for every shard of it.
engine
Section titled “engine”engine:
BrowserName
Defined in: packages/core/src/adapters/remote-browser.ts:39
purpose
Section titled “purpose”purpose:
RemotePurpose
Defined in: packages/core/src/adapters/remote-browser.ts:47
render for a build or shard, extract for the parameter pre-pass, tests for .test() entries.
runId:
string
Defined in: packages/core/src/adapters/remote-browser.ts:43
The shard’s own id; the build id when the render is not sharded.
shardIndex?
Section titled “shardIndex?”
optionalshardIndex?:number
Defined in: packages/core/src/adapters/remote-browser.ts:45
The shard’s 1-based position in the build’s plan; undefined (never 0) when not sharded.
signal
Section titled “signal”signal:
AbortSignal
Defined in: packages/core/src/adapters/remote-browser.ts:54
Aborts while connect is pending: on timeouts.acquireMs, a cancel (user, build, render
budget) and shutdown. Spent once connect resolves.