variable WSEventsContext

Carries the bus WSProvider emits its events on, for useWSEvent. Outside WSProvider, it is a bus no one emits on.

Type

React.Context<Pick<WSEventBus, "subscribe">>

Usage

import { WSEventsContext } from "src/contexts/ws/WSContext.ts";