6 lines
171 B
TypeScript
6 lines
171 B
TypeScript
|
import { syscall } from "./syscall";
|
||
|
|
||
|
export async function dispatch(eventName: string, data: any): Promise<void> {
|
||
|
return syscall("event.dispatch", eventName, data);
|
||
|
}
|