observeBus
function observeBus(name, fn): () => void;Watch every wire crossing the named bus, in both directions. Outbound wires are the interesting half: a post goes straight to the transport, so without this seam nothing this client says is visible to it.
Works for buses that do not exist yet — observe first, create later.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
name | string |
fn | BusObserver |
Returns
Section titled “Returns”() => void