1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/ext
Luca Casonato 301c4f4d02 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-12 15:49:40 +02:00
..
broadcast_channel 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
cache 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
console chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
crypto chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
fetch refactor: remove remaining references to "flash" server (#18580) 2023-04-12 15:49:39 +02:00
ffi chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
fs chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
http refactor(ext/http): bring back 'reusePort' option for 'Deno.serve()' (#18590) 2023-04-12 15:49:39 +02:00
io feat(core): sync io ops in core (#18603) 2023-04-12 15:49:40 +02:00
kv 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
napi 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
net 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
node tests: cleanup "node_compat_tests" (#18594) 2023-04-12 15:49:39 +02:00
tls 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
url 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00
web Revert "fix(cli): don't store blob and data urls in the module cache (#18261)" (#18572) 2023-04-12 15:44:00 +02:00
webidl chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
websocket chore: Turn back on dlintPreferPrimordials (#17715) 2023-04-12 15:42:30 +02:00
webstorage 1.32.3 (#18558) 2023-04-01 18:51:46 -04:00