Carries the bus WSProvider emits its events on, for useWSEvent. Outside
WSProvider, it is a bus no one emits on.
React.Context<Pick<WSEventBus, "subscribe">>
Carries the bus WSProvider emits its events on, for useWSEvent. Outside
WSProvider, it is a bus no one emits on.
React.Context<Pick<WSEventBus, "subscribe">>
import { WSEventsContext } from "src/contexts/ws/WSContext.ts";