An object that contains an AbortSignal as the optional signal property.
signal
const controller = new AbortController()aLongRunningOperation({ signal: controller.signal})// latercontroller.abort() Copy
const controller = new AbortController()aLongRunningOperation({ signal: controller.signal})// latercontroller.abort()
Optional
If true, open a new connection to the remote even if one already exists
An object that contains an AbortSignal as the optional
signal
property.Example