@oona/vlo / host / InProcessOptions
Interface: InProcessOptions
Defined in: sdk/ts/sdk/src/host/transport/in-process.ts:54
Knobs for InProcessTransport.
Properties
onError?
optionalonError?: (error) =>void
Defined in: sdk/ts/sdk/src/host/transport/in-process.ts:62
Where a failure to report goes. The handler's own throw is a task failure and the reporter turns it into one; this is the reporter itself failing — a journal that closed under a shutdown, typically — and without a home it would be an unhandled rejection.
Parameters
error
unknown
Returns
void
tracker?
optionaltracker?:InProcessTracker
Defined in: sdk/ts/sdk/src/host/transport/in-process.ts:56
Shared with the host, so Host.drain can wait for handlers this transport started.