Closed
Description
We have an undocumented internal API on destroy
with the a second callback argument. In some cases it is possibly not required or incorrectly used.
- avoid in async iterator (stream: async iterator destroy compat #29176)
- avoid in net (net: use callback to properly propagate error #29178)
- avoid in stream base (stream: use callback to properly propagate error #29179)
- avoid or make monkey patch safe in
fs
streams - avoid in http2