diff options
author | Valentin Anger <syrupthinker@gryphno.de> | 2020-07-08 17:23:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-08 11:23:50 -0400 |
commit | be7e0f2d490ca480aaa154845c4c5c6dccbd7546 (patch) | |
tree | b2a2d284c490a2a1cd8ec3b6175ea5d4077cc65e /cli/js | |
parent | cbbd9443592f79f6abf9e5019840de4e01ff8580 (diff) |
BREAKING(core): Remove control slice from ops (#6048)
Diffstat (limited to 'cli/js')
-rw-r--r-- | cli/js/globals.ts | 13 |
1 files changed, 2 insertions, 11 deletions
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; |