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
The upgrader turns a MultiaddrConnection into a Connection which should be returned by the transport's dial method
An object that contains an AbortSignal as the optional
signal
property.Example