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
Only close the stream if it either has no protocol streams open or only ones in this list.
['/ipfs/id/1.0.0'] Copy
['/ipfs/id/1.0.0']
An object that contains an AbortSignal as the optional
signal
property.Example