From fe5662058e0c7767e7b2724451f9d5a3f133ffbf Mon Sep 17 00:00:00 2001 From: Andy Finch Date: Fri, 17 Jan 2020 08:26:11 -0500 Subject: feat: support individual async handler for each op (#3690) --- cli/js/dispatch_json.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/js/dispatch_json.ts') diff --git a/cli/js/dispatch_json.ts b/cli/js/dispatch_json.ts index 07095ea4b..adccb69c6 100644 --- a/cli/js/dispatch_json.ts +++ b/cli/js/dispatch_json.ts @@ -43,7 +43,7 @@ function unwrapResponse(res: JsonResponse): Ok { return res.ok; } -export function asyncMsgFromRust(opId: number, resUi8: Uint8Array): void { +export function asyncMsgFromRust(resUi8: Uint8Array): void { const res = decode(resUi8); util.assert(res.promiseId != null); -- cgit v1.2.3