diff options
Diffstat (limited to 'op_crates/fetch/lib.deno_fetch.d.ts')
-rw-r--r-- | op_crates/fetch/lib.deno_fetch.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/op_crates/fetch/lib.deno_fetch.d.ts b/op_crates/fetch/lib.deno_fetch.d.ts index 83739f2ec..f18dbe359 100644 --- a/op_crates/fetch/lib.deno_fetch.d.ts +++ b/op_crates/fetch/lib.deno_fetch.d.ts @@ -150,6 +150,12 @@ declare class ByteLengthQueuingStrategy interface ReadableStream<R = any> { readonly locked: boolean; cancel(reason?: any): Promise<void>; + /** + * @deprecated This is no longer part of the Streams standard and the async + * iterable should be obtained by just using the stream as an + * async iterator. + */ + getIterator(options?: { preventCancel?: boolean }): AsyncIterableIterator<R>; getReader(): ReadableStreamDefaultReader<R>; pipeThrough<T>( { writable, readable }: { |