Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(runtime): web streams in fs & net APIs #13615

Merged
merged 1 commit into from
Feb 15, 2022

Conversation

lucacasonato
Copy link
Member

@lucacasonato lucacasonato commented Feb 7, 2022

This commit adds readable and writable properties to Deno.File and
Deno.Conn. This makes it very simple to use files and network sockets
with fetch or the native HTTP server.

Closes #13614

@bartlomieju
Copy link
Member

+1 from me, seems very useful

@bartlomieju
Copy link
Member

Will conflict with #13660, we should land both PRs for 1.19

This commit adds `readable` and `writable` properties to `Deno.File` and
`Deno.Conn`. This makes it very simple to use files and network sockets
with fetch or the native HTTP server.
@lucacasonato lucacasonato marked this pull request as ready for review February 15, 2022 10:47
Copy link
Member

@bartlomieju bartlomieju left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀

@ry
Copy link
Member

ry commented Feb 15, 2022

LGTM 👍

@ry
Copy link
Member

ry commented Feb 15, 2022

Hopefully the File -> FsFile rename doesn't mess this up somehow

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make FS and net APIs work well with WHATWG streams
4 participants