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
An object that contains an AbortSignal as the optional
signal
property.Example