Document TransformStream cleanup using "transformer.cleanup" #29375
Labels
Content:WebAPI
Web API docs
waiting for implementations
Waiting for feature to be implemented in browsers
The WHATWG Streams API was recently updated with a new hook for TransformStream cleanup. This allows cleaning up resources backing a transform stream when the stream is errored or aborted. Previously this sort of cleanup was only possible via the
flush
hook, which is only called when the readable stream naturally closes.The spec PR can be found here: whatwg/streams#1283
The text was updated successfully, but these errors were encountered: