diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-10-21 19:35:23 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 19:35:23 +0530 |
commit | 0f27b84a5caa10d9056b7a4f9eace3771f8ea114 (patch) | |
tree | 60c51b69e36f520d653185d5ce9769e5311ad111 /core/01_core.js | |
parent | 659a918f39c516fe90cab25facb02325e5e72371 (diff) |
chore(core): remove `core.opSync` (#16379)
This patch removes the last uses of `core.opSync` from Deno.
The new and JIT-friendly way to call sync ops is `core.ops.op_name()`.
Diffstat (limited to 'core/01_core.js')
-rw-r--r-- | core/01_core.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/core/01_core.js b/core/01_core.js index b98e54160..04f0eba77 100644 --- a/core/01_core.js +++ b/core/01_core.js @@ -186,10 +186,6 @@ return p; } - function opSync(opName, ...args) { - return ops[opName](...args); - } - function refOp(promiseId) { if (!hasPromise(promiseId)) { return; @@ -307,7 +303,6 @@ // Extra Deno.core.* exports const core = ObjectAssign(globalThis.Deno.core, { opAsync, - opSync, resources, metrics, registerErrorBuilder, |