2020-03-09 10:18:02 -04:00
|
|
|
import { sendSync } from "./dispatch_json.ts";
|
|
|
|
|
2020-04-20 10:27:15 -04:00
|
|
|
export function openPlugin(filename: string): number {
|
|
|
|
const rid = sendSync("op_open_plugin", { filename });
|
|
|
|
return rid;
|
2020-03-09 10:18:02 -04:00
|
|
|
}
|