Function: abortSignal()
abortSignal(
controllerOrSignal
?): <C
>(action
) =>Promise
<Action
<Awaited
<C
> &object
,object
>>
Configure an abort signal on the request to make it abortable.
Parameters
• controllerOrSignal?: Optional
<AbortSignal
| AbortController
>
Returns
Function
Type parameters
• C extends object
Parameters
• action: Action
<C
>
Returns
Promise
<Action
<Awaited
<C
> & object
, object
>>
Source
packages/http/src/actions/context/enhancers/abortSignal.ts:21