Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
stream: implement WHATWG streams
Experimental implementation of the WHATWG streams standard. Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: #39062 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
- Loading branch information
Showing
with
9,668 additions
and 32 deletions.
- +5 −0 doc/api/errors.md
- +1 −0 doc/api/index.md
- +1,122 −0 doc/api/webstreams.md
- +1 −0 lib/internal/abort_controller.js
- +4 −3 lib/internal/errors.js
- +5 −0 lib/internal/per_context/primordials.js
- +168 −0 lib/internal/webstreams/queuingstrategies.js
- +2,740 −0 lib/internal/webstreams/readablestream.js
- +299 −0 lib/internal/webstreams/transfer.js
- +591 −0 lib/internal/webstreams/transformstream.js
- +237 −0 lib/internal/webstreams/util.js
- +1,329 −0 lib/internal/webstreams/writablestream.js
- +48 −0 lib/stream/web.js
- +61 −0 src/node_buffer.cc
- +1 −1 test/fixtures/wpt/README.md
- +12 −5 test/fixtures/wpt/streams/readable-byte-streams/general.any.js
- +2 −2 test/fixtures/wpt/streams/readable-byte-streams/non-transferable-buffers.any.js
- +108 −0 test/fixtures/wpt/streams/writable-streams/aborting.any.js
- +1 −1 test/fixtures/wpt/versions.json
- +238 −0 test/parallel/test-whatwg-readablebytestream.js
- +1,522 −0 test/parallel/test-whatwg-readablestream.js
- +188 −0 test/parallel/test-whatwg-transformstream.js
- +70 −0 test/parallel/test-whatwg-webstreams-coverage.js
- +503 −0 test/parallel/test-whatwg-webstreams-transfer.js
- +260 −0 test/parallel/test-whatwg-writablestream.js
- +11 −1 test/wpt/status/streams.json
- +106 −14 test/wpt/test-streams.js
- +27 −0 tools/doc/type-parser.mjs
- +8 −5 typings/primordials.d.ts
Oops, something went wrong.