mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
375ce63c63
This allows resources to be "streams" by implementing read/write/shutdown. These streams are implicit since their nature (read/write/duplex) isn't known until called, but we could easily add another method to explicitly tag resources as streams. `op_read/op_write/op_shutdown` are now builtin ops provided by `deno_core` Note: this current implementation is simple & straightforward but it results in an additional alloc per read/write call Closes #12556 |
||
---|---|---|
.. | ||
disable_ops.rs | ||
hello_world.rs | ||
http_bench_json_ops.js | ||
http_bench_json_ops.rs |