mirror of
https://github.com/denoland/deno.git
synced 2024-11-14 16:33:45 -05:00
6e5f3453f8
This simplifies the plugin interface in order to deliver op crates with a similar API
6 lines
175 B
TypeScript
6 lines
175 B
TypeScript
import { sendSync } from "./dispatch_json.ts";
|
|
|
|
export function openPlugin(filename: string): number {
|
|
const rid = sendSync("op_open_plugin", { filename });
|
|
return rid;
|
|
}
|