diff options
Diffstat (limited to 'cli/js/plugins.ts')
-rw-r--r-- | cli/js/plugins.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/js/plugins.ts b/cli/js/plugins.ts index 324ae3408..4d2072c79 100644 --- a/cli/js/plugins.ts +++ b/cli/js/plugins.ts @@ -1,5 +1,5 @@ import { sendSync } from "./dispatch_json.ts"; -import { OP_OPEN_PLUGIN, setPluginAsyncHandler } from "./dispatch.ts"; +import { OP_OPEN_PLUGIN } from "./dispatch.ts"; import { core } from "./core.ts"; export interface AsyncHandler { @@ -25,7 +25,7 @@ class PluginOpImpl implements PluginOp { } setAsyncHandler(handler: AsyncHandler): void { - setPluginAsyncHandler(this.opId, handler); + core.setAsyncHandler(this.opId, handler); } } |