Files
plainleaf/lib/plugos/eventhook.ts
T
2025-06-16 18:53:21 +02:00

9 lines
251 B
TypeScript

import type { EventHookT } from "../manifest.ts";
import type { Hook } from "./types.ts";
export interface EventHookI extends Hook<EventHookT> {
dispatchEvent(eventName: string, ...args: unknown[]): Promise<unknown[]>;
listEvents(): string[];
}