Skip to content

listenersOf beta ​

Function of @v12-engine/client

ts
export declare function listenersOf(on: ViewListeners | undefined): {
    id: string;
    run: (payload: any, client: GameClientApi) => void;
}[];

Every listener of the view's, by the id of the event it hears: those in a list, and those by id