[core] Cancellation support in NodeJS response stream
deyaaeldeen opened this issue · comments
Currently we use the NodeJS.ReadableStream
type as the type of response stream in the NodeJS client in core-rest-pipeline and ts-http-runtime. However, this type lacks an API to cancel the stream, even though the runtime http.IncomingMessage
object does support cancellation via the destroy
method.
This issue tracks updating the stream types in both core libraries to support the cancellation API:
- core-rest-pipeline
- ts-http-runtime