std/streams
Doctor 39c2a4c076
feat(streams): concatReadableStreams() (#4747)
* feat(streams): `new ConcatStreams()`

* refactor(streams): new ConcatStream to be a ReadableStream instead

- Converted ConcatStream from a TransformStream into a ReadableStream, also now with proper cleaning up if the `.cancel()` method is called.

* adjust(streams): ConcatStreams class into function

* Adjust(streams): based off comments

* adjust(streams): Remove redundant locking

* adjust(streams): based off comments

* tweaks

* fix

* tweak

* add Leo as co-author

Co-authored-by: crowlKats <crowlkats@toaxl.com>

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: crowlKats <crowlkats@toaxl.com>
2024-05-20 22:22:01 +00:00
..
_common.ts refactor(streams): prepare for noUncheckedIndexedAccess (#4377) 2024-02-25 07:22:50 +11:00
_test_common.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
buffer_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
buffer.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
byte_slice_stream_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
byte_slice_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
concat_readable_streams_test.ts feat(streams): concatReadableStreams() (#4747) 2024-05-20 22:22:01 +00:00
concat_readable_streams.ts feat(streams): concatReadableStreams() (#4747) 2024-05-20 22:22:01 +00:00
delimiter_stream_test.ts chore(streams): format test names (#4378) 2024-02-28 08:12:47 +12:00
delimiter_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
deno.json feat(streams): concatReadableStreams() (#4747) 2024-05-20 22:22:01 +00:00
early_zip_readable_streams_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
early_zip_readable_streams.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
iterate_reader_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
iterate_reader.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
limited_bytes_transform_stream_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
limited_bytes_transform_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
limited_transform_stream_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
limited_transform_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
merge_readable_streams_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
merge_readable_streams.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
mod.ts feat(streams): concatReadableStreams() (#4747) 2024-05-20 22:22:01 +00:00
readable_stream_from_reader_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
readable_stream_from_reader.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
reader_from_iterable_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
reader_from_iterable.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
reader_from_stream_reader_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
reader_from_stream_reader.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
text_delimiter_stream_test.ts chore(streams): format test names (#4378) 2024-02-28 08:12:47 +12:00
text_delimiter_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
text_line_stream_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
text_line_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_array_buffer_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_array_buffer.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_blob_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_blob.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_json_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_json.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_text_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_text.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_transform_stream_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
to_transform_stream.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
writable_stream_from_writer_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
writable_stream_from_writer.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
writer_from_stream_writer_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
writer_from_stream_writer.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
zip_readable_streams_test.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
zip_readable_streams.ts chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00