← Về thư mục
frontend/src/features/ws/registry.ts
- registerWsHandler · function · L11-L22 — function registerWsHandler(type: string, handler: WsHandler): void
- hasWsHandler · function · L24-L26 — function hasWsHandler(type: string): boolean
- resetWsHandlers · function · L28-L30 — function resetWsHandlers(): void
- onEvent · function · L36-L46 — function onEvent(m: WsMessage | null | undefined): void