mirror of
https://github.com/denoland/std.git
synced 2024-11-21 20:50:22 +00:00
deprecation(io/unstable): deprecate LimitedReader
(#6024)
* deprecation(io/unstable): deprecate `LimitedReader` * update
This commit is contained in:
parent
e2de4d4e49
commit
f763411aa6
@ -23,7 +23,9 @@ import type { Reader } from "./types.ts";
|
|||||||
* assertEquals(new TextDecoder().decode(res), "hello");
|
* assertEquals(new TextDecoder().decode(res), "hello");
|
||||||
* ```
|
* ```
|
||||||
*
|
*
|
||||||
* @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 through a
|
||||||
|
* {@linkcode https://jsr.io/@std/streams/doc/limited-bytes-transform-stream/~/LimitedBytesTransformStream | LimitedBytesTransformStream}
|
||||||
|
* instead. This will be removed in 0.225.0.
|
||||||
*/
|
*/
|
||||||
export class LimitedReader implements Reader {
|
export class LimitedReader implements Reader {
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user