summaryrefslogtreecommitdiff
path: root/js/dispatch.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/dispatch.ts')
-rw-r--r--js/dispatch.ts5
1 files changed, 0 insertions, 5 deletions
diff --git a/js/dispatch.ts b/js/dispatch.ts
index 2416c19e2..dfa276cda 100644
--- a/js/dispatch.ts
+++ b/js/dispatch.ts
@@ -1,10 +1,8 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import * as minimal from "./dispatch_minimal";
-import * as flatbuffers from "./dispatch_flatbuffers";
import * as json from "./dispatch_json";
// These consts are shared with Rust. Update with care.
-export const OP_FLATBUFFER = 100;
export const OP_READ = 1;
export const OP_WRITE = 2;
export const OP_EXIT = 3;
@@ -64,9 +62,6 @@ export const OP_CWD = 56;
export function asyncMsgFromRust(opId: number, ui8: Uint8Array): void {
switch (opId) {
- case OP_FLATBUFFER:
- flatbuffers.asyncMsgFromRust(opId, ui8);
- break;
case OP_WRITE:
case OP_READ:
minimal.asyncMsgFromRust(opId, ui8);