mirror of
https://github.com/denoland/deno.git
synced 2025-09-28 13:14:48 +00:00
feat: Add WritableStreams (and enable ReadableStreams piping) (#4980)
This commit is contained in:
parent
84d687e958
commit
81c75332fb
18 changed files with 2094 additions and 212 deletions
|
@ -258,7 +258,7 @@ class Body
|
|||
|
||||
pipeThrough<T>(
|
||||
_: {
|
||||
writable: domTypes.WritableStream<Uint8Array>;
|
||||
writable: WritableStream<Uint8Array>;
|
||||
readable: ReadableStream<T>;
|
||||
},
|
||||
_options?: PipeOptions
|
||||
|
@ -267,7 +267,7 @@ class Body
|
|||
}
|
||||
|
||||
pipeTo(
|
||||
_dest: domTypes.WritableStream<Uint8Array>,
|
||||
_dest: WritableStream<Uint8Array>,
|
||||
_options?: PipeOptions
|
||||
): Promise<void> {
|
||||
return notImplemented();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue