summaryrefslogtreecommitdiff
path: root/core/lib.deno_core.d.ts
diff options
context:
space:
mode:
authorAaron O'Mullan <aaron.omullan@gmail.com>2021-04-12 21:55:05 +0200
committerGitHub <noreply@github.com>2021-04-12 15:55:05 -0400
commit46b1c653c0c433932908b7610f60b409af134c76 (patch)
tree00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /core/lib.deno_core.d.ts
parenta20504642d083172f297543f9788b128e9c2e0bc (diff)
refactor(deno): remove concept of bin & json ops (#10145)
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,