HeldConnection
Defined in: packages/core/src/adapters/remote-lease-held.ts:6
A connection held until its render ends.
Properties
Section titled “Properties”connection
Section titled “connection”
readonlyconnection:RemoteConnection&object
Defined in: packages/core/src/adapters/remote-lease-held.ts:8
The connection to open (with its lease, for scrubbing): the function’s result, or the fixed object.
Type Declaration
Section titled “Type Declaration”lease?
Section titled “lease?”
optionallease?:unknown
Methods
Section titled “Methods”end(
outcome,error?):Promise<void>
Defined in: packages/core/src/adapters/remote-lease-held.ts:10
Release the lease with how the render ended; later calls do nothing (the first outcome wins).
Parameters
Section titled “Parameters”outcome
Section titled “outcome”error?
Section titled “error?”unknown
Returns
Section titled “Returns”Promise<void>