deprecation(io/unstable): deprecate readStringDelim() (#6000)

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

* update
This commit is contained in:
Asher Gomez 2024-09-17 15:10:49 +10:00 committed by GitHub
parent a680561f58
commit 97a5fded1a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,7 +24,9 @@ import { readDelim } from "./read_delim.ts";
* @param decoderOpts The options
* @returns The async iterator of strings
*
* @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 Pipe the readable stream through a
* {@linkcode https://jsr.io/@std/streams/doc/~/TextDelimiterStream | TextDelimiterStream}
* instead. This will be removed in the future.
*/
export async function* readStringDelim(
reader: Reader,