mirror of
https://github.com/denoland/deno
synced 2024-09-19 08:02:31 +00:00
6e5f3453f8
This simplifies the plugin interface in order to deliver op crates with a similar API
7 lines
175 B
TypeScript
7 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;
|
|
}
|