In-memory bus connection.
Records every emitted message on events instead of hitting a real transport. Useful in tests and local development to assert what would have been published.
events
The connection name.
Readonly
The messages emitted so far, in order.
A human-readable name (e.g. local, cloud, eventbridge).
local
cloud
eventbridge
Optional
Static
Create a memory connection.
A new connection.
In-memory bus connection.
Records every emitted message on
eventsinstead of hitting a real transport. Useful in tests and local development to assert what would have been published.