MemoryHub
In-memory hub for tests: N transports attached to one hub, each post is delivered to every other transport on a microtask (mirrors BroadcastChannel’s async, no-self-echo delivery).
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new MemoryHub(): MemoryHub;Returns
Section titled “Returns”MemoryHub
Methods
Section titled “Methods”connect()
Section titled “connect()”connect(): MemoryTransport;