An object that contains an AbortSignal as the optional signal property.
signal
const controller = new AbortController()aLongRunningOperation({ signal: controller.signal})// latercontroller.abort()
Optional
Outbound stream muxers are opened by the local node, inbound stream muxers are opened by the remote
A callback function invoked every time an incoming stream is opened
A callback function invoke every time a stream ends
An object that contains an AbortSignal as the optional
signal
property.Example