useWSEvent<K extends keyof WSEvents>(): void
Calls handler with every event of kind the socket brings, as it
arrives, for as long as the component is mounted. The handler applies it to
what the component fetched, through state setters: it runs outside render,
and always as the latest render defined it. The list sync hooks, the dump
and playlist pages, the profile, the bell and the categories use it.
K extends keyof WSEvents