summaryrefslogtreecommitdiff
path: root/core/lib.deno_core.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'core/lib.deno_core.d.ts')
-rw-r--r--core/lib.deno_core.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/core/lib.deno_core.d.ts b/core/lib.deno_core.d.ts
index b12879a9b..2da28b413 100644
--- a/core/lib.deno_core.d.ts
+++ b/core/lib.deno_core.d.ts
@@ -7,15 +7,15 @@
declare namespace Deno {
declare namespace core {
- /** Send a JSON op to Rust, and synchronously receive the result. */
- function jsonOpSync(
+ /** Call an op in Rust, and synchronously receive the result. */
+ function opSync(
opName: string,
args?: any,
zeroCopy?: Uint8Array,
): any;
- /** Send a JSON op to Rust, and asynchronously receive the result. */
- function jsonOpAsync(
+ /** Call an op in Rust, and asynchronously receive the result. */
+ function opAsync(
opName: string,
args?: any,
zeroCopy?: Uint8Array,