diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-29 22:02:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 22:02:26 +0100 |
commit | 345423cf7697326258ce8b32f681910f4a2f77de (patch) | |
tree | 484dd157be01e3dc0d4f34f28526dac1804d0250 /ext/web/06_streams.js | |
parent | 909986fa6ed3404e76590438b387391a6c213e46 (diff) |
refactor: Use virtul ops module (#22175)
Follow up to #22157.
This leaves us with 4 usages of `ensureFastOps()` in `deno` itself.
There's also about 150 usages of `Deno.core.ops.<op_name>` left as well.
Diffstat (limited to 'ext/web/06_streams.js')
-rw-r--r-- | ext/web/06_streams.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ext/web/06_streams.js b/ext/web/06_streams.js index e99c8fa1b..fa9e4b59e 100644 --- a/ext/web/06_streams.js +++ b/ext/web/06_streams.js @@ -15,6 +15,8 @@ const { } = core; import { op_arraybuffer_was_detached, + // TODO(mmastrac): use readAll + op_read_all, op_readable_stream_resource_allocate, op_readable_stream_resource_allocate_sized, op_readable_stream_resource_await_close, @@ -26,10 +28,6 @@ import { op_transfer_arraybuffer, } from "ext:core/ops"; const { - // TODO(mmastrac): use readAll - op_read_all, -} = core.ensureFastOps(true); -const { ArrayBuffer, ArrayBufferIsView, ArrayBufferPrototypeGetByteLength, |