Publishes a new mode onto the bus, replacing whatever was active. Accepts a mode (or null to clear), or an updater that receives the current mode — the same shape as a React state setter.
null
Publishes a new mode onto the bus, replacing whatever was active. Accepts a mode (or
nullto clear), or an updater that receives the current mode — the same shape as a React state setter.