Interface: DispatchOptions
The options of a request dispatched by an adapter (ChannelRuntime.dispatch).
Properties
params?
readonlyoptionalparams?:Record<string,unknown>
The parameters the transport took from the request's address (such as route parameters); they are merged into the action's input and take precedence over the request's data and the matcher's parameters.
signal?
readonlyoptionalsignal?:AbortSignal
Aborts the request (its client went away, its deadline passed): the controller's signal aborts, the request's container is destroyed and the dispatch resolves to undefined at once. A request whose signal is already aborted is not run.