Skip to content

Commit

Permalink
deprecation(io/unstable): deprecate readDelim()
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Sep 19, 2024
1 parent 0b2497f commit ce2facc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion io/read_delim.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.226.0.
*/
export async function* readDelim(
reader: Reader,
Expand Down

0 comments on commit ce2facc

Please sign in to comment.