- From: Adam Rice <notifications@github.com>
- Date: Mon, 02 Jul 2018 07:59:08 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 2 July 2018 14:59:32 UTC
Clear the flushAlgorithm and transformAlgorithm slots when they will no
longer be called. This allows resources such as the transformer object
to be freed.
The case where transformAlgorithm returns a rejection isn't currently
handled because it can't be done efficiently as the moment. Once
finally() is added to the WritableStream underlying sink interface this
will be trivial.
Part of #932.
You can view, comment on, or merge this pull request online at:
https://github.com/whatwg/streams/pull/937
-- Commit Summary --
* TransformStream: clear algorithms once they will no longer be called
-- File Changes --
M index.bs (17)
M reference-implementation/lib/transform-stream.js (11)
-- Patch Links --
https://github.com/whatwg/streams/pull/937.patch
https://github.com/whatwg/streams/pull/937.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/937
Received on Monday, 2 July 2018 14:59:32 UTC