mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
BREAKING: Remove Deno.EOF, use null instead (#4953)
This commit is contained in:
parent
47c2f034e9
commit
678313b176
46 changed files with 329 additions and 325 deletions
|
@ -220,7 +220,7 @@ class Body
|
|||
return decoder.decode(ab);
|
||||
}
|
||||
|
||||
read(p: Uint8Array): Promise<number | io.EOF> {
|
||||
read(p: Uint8Array): Promise<number | null> {
|
||||
this.#bodyUsed = true;
|
||||
return read(this.#rid, p);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue