Variable AbortSignal
AbortSignal : {
prototype: AbortSignal;
abort(reason?: any): AbortSignal;
any(signals: AbortSignal[]): AbortSignal;
timeout(milliseconds: number): AbortSignal;
new (): AbortSignal;
}
prototype: AbortSignal;
abort(reason?: any): AbortSignal;
any(signals: AbortSignal[]): AbortSignal;
timeout(milliseconds: number): AbortSignal;
new (): AbortSignal;
}
Type declaration
- new (): AbortSignal
Returns AbortSignal
prototype: AbortSignal
abort:function
- abort(reason?): AbortSignal
Parameters
Optional
reason: any
Returns AbortSignal
any:function
- any(signals): AbortSignal
Parameters
- signals: AbortSignal[]
Returns AbortSignal
timeout:function
- timeout(milliseconds): AbortSignal
Parameters
- milliseconds: number
Returns AbortSignal
MDN Reference