summaryrefslogtreecommitdiff
path: root/cli/js/globals.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/js/globals.ts')
-rw-r--r--cli/js/globals.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/js/globals.ts b/cli/js/globals.ts
index 09be63315..5746b224f 100644
--- a/cli/js/globals.ts
+++ b/cli/js/globals.ts
@@ -82,6 +82,11 @@ declare global {
control: Uint8Array,
...zeroCopy: ArrayBufferView[]
): Uint8Array | null;
+ dispatchByName(
+ opName: string,
+ control: Uint8Array,
+ ...zeroCopy: ArrayBufferView[]
+ ): Uint8Array | null;
setAsyncHandler(opId: number, cb: (msg: Uint8Array) => void): void;
sharedQueue: {
head(): number;