Gets the AbortSignal
instance that can be used to listen for abort events.
the AbortSignal
instance.
Aborts the streaming request.
Note: This method is noop in case the request is already done.
Optional
reason: string | Erroroptional cause for aborting the request.
Gets a reference to the Promise
that indicates whether the streaming
is done or not. Developers should always call this in their apps to ensure
the request is over.
An alternative to this, is to use on('done')
in case your application
architecture works best with event listeners.
the promise that resolves when the request is done.
The class representing a streaming response. With t