HookDef
TypeAlias of @v12-engine/engine
ts
export type HookDef = {
hook: AnyHook;
id: string;
priority?: number;
run: (world: World, event: any) => void;
};A handler and the hook it is for. Its id is how others take it out or put something in its place