* feat(streams): add toLines
* chore(streams): remove testing code
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* chore(streams): fmt
* adjust(streams): change toLines return type to `ReadableStream<string>`
- Change the return type from `AsyncGenerator<string>` to `ReadableStream<string>`
- Change `readable` to only be of type `ReadableStream<Uint8Array>`
- Add `options` argument of type `PipeOptions.`
* work
* work
---------
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* feat(streams): new ResizeStreams(size)
* chore(streams): Renamed ResizeStream to FixedChunkStream
* Update streams/fixed_chunk_stream_test.ts
* update
* tweaks
* tweak test
* fix(streams): chunks getting lost if size was equally divisible by `size`
* work
* work
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
* 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>