diff options
author | Aaron O'Mullan <aaron.omullan@gmail.com> | 2021-04-12 21:55:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-12 15:55:05 -0400 |
commit | 46b1c653c0c433932908b7610f60b409af134c76 (patch) | |
tree | 00d8b59c8c4e9b90538d548ebd828d2b3f94d4fd /core/lib.deno_core.d.ts | |
parent | a20504642d083172f297543f9788b128e9c2e0bc (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.ts | 8 |
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, |