1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-29 16:30:56 -05:00
denoland-deno/ext/io
Luca Casonato 36e8c8dfd7
feat(core): sync io ops in core (#18603)
This commit adds op_read_sync and op_write_sync to core. These ops are
similar to op_read and op_write, but they are synchronous. Just like the
async ops, they operate on generic `deno_core::Resource` objects. These
now have new `read_byob_sync` and `write_sync` methods, with default
implementations throwing "NotSupported" errors, just like the async
counterparts.

There are no `write_all` or `read` equivalents, because the
optimizations they unlock are not useful in synchronous contexts.
2023-04-06 00:14:16 +02:00
..
12_io.js feat(core): sync io ops in core (#18603) 2023-04-06 00:14:16 +02:00
Cargo.toml chore: forward v1.32.3 release commit to main (#18561) 2023-04-01 20:27:53 -04:00
lib.rs feat(core): sync io ops in core (#18603) 2023-04-06 00:14:16 +02:00
README.md refactor(runtime): factor out deno_io extension crate (#18001) 2023-03-05 00:39:48 +00:00

deno_io

This crate provides IO primitives for other Deno extensions, this includes stdio streams and abstraction over File System files.