Track bundled vendor runtime sources
This commit is contained in:
11
vendor/aigcpanel/electron/mapi/workflow/render.ts
vendored
Normal file
11
vendor/aigcpanel/electron/mapi/workflow/render.ts
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { ipcRenderer } from "electron";
|
||||
|
||||
const dispatch = async (workflowLogId: string, params: any) => {
|
||||
return ipcRenderer.invoke("workflow:dispatch", workflowLogId, params);
|
||||
};
|
||||
|
||||
const cancel = async (workflowLogId: string) => {
|
||||
return ipcRenderer.invoke("workflow:cancel", workflowLogId);
|
||||
};
|
||||
|
||||
export default { dispatch, cancel };
|
||||
Reference in New Issue
Block a user