summaryrefslogtreecommitdiff
path: root/js/dispatch_flatbuffers.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/dispatch_flatbuffers.ts')
-rw-r--r--js/dispatch_flatbuffers.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/dispatch_flatbuffers.ts b/js/dispatch_flatbuffers.ts
index 87a01037c..0e375dbdf 100644
--- a/js/dispatch_flatbuffers.ts
+++ b/js/dispatch_flatbuffers.ts
@@ -19,7 +19,7 @@ interface FlatbufferRecord {
base: msg.Base;
}
-export function handleAsyncMsgFromRust(opId: number, ui8: Uint8Array): void {
+export function asyncMsgFromRust(opId: number, ui8: Uint8Array): void {
let { promiseId, base } = flatbufferRecordFromBuf(ui8);
const promise = promiseTable.get(promiseId);
util.assert(promise != null, `Expecting promise in table. ${promiseId}`);