deprecation(io/unstable): deprecate readDelim() (#6022)

* deprecation(io/unstable): deprecate `readDelim()`

* update
This commit is contained in:
Asher Gomez 2024-09-23 21:30:11 +10:00 committed by GitHub
parent f1b3525b9f
commit 385a11f4b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,7 +45,9 @@ function createLPS(pat: Uint8Array): Uint8Array {
* @param delim The delimiter to read until
* @returns The {@linkcode AsyncIterableIterator} of {@linkcode Uint8Array}s.
*
* @deprecated This will be removed in 1.0.0. Use the {@link https://developer.mozilla.org/en-US/docs/Web/API/Streams_API | Web Streams API} instead.
* @deprecated Use
* {@linkcode https://jsr.io/@std/streams/doc/byte-slice-stream/~/ByteSliceStream | ByteSliceStream}
* instead. This will be removed in 0.225.0.
*/
export async function* readDelim(
reader: Reader,