From be7e0f2d490ca480aaa154845c4c5c6dccbd7546 Mon Sep 17 00:00:00 2001 From: Valentin Anger Date: Wed, 8 Jul 2020 17:23:50 +0200 Subject: BREAKING(core): Remove control slice from ops (#6048) --- cli/js/globals.ts | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) (limited to 'cli/js') diff --git a/cli/js/globals.ts b/cli/js/globals.ts index c73a2a6ab..4548c8304 100644 --- a/cli/js/globals.ts +++ b/cli/js/globals.ts @@ -77,14 +77,9 @@ declare global { interface DenoCore { print(s: string, isErr?: boolean): void; - dispatch( - opId: number, - control: Uint8Array, - ...zeroCopy: ArrayBufferView[] - ): Uint8Array | null; + dispatch(opId: number, ...zeroCopy: ArrayBufferView[]): Uint8Array | null; dispatchByName( opName: string, - control: Uint8Array, ...zeroCopy: ArrayBufferView[] ): Uint8Array | null; setAsyncHandler(opId: number, cb: (msg: Uint8Array) => void): void; @@ -101,11 +96,7 @@ declare global { recv(cb: (opId: number, msg: Uint8Array) => void): void; - send( - opId: number, - control: null | ArrayBufferView, - ...data: ArrayBufferView[] - ): null | Uint8Array; + send(opId: number, ...data: ArrayBufferView[]): null | Uint8Array; setMacrotaskCallback(cb: () => boolean): void; -- cgit v1.2.3