core.testing / InMemoryMessagingNetwork / InMemoryMessaging / <init>

# <init>

`InMemoryMessaging(manuallyPumped: Boolean, handle: Handle)`

An InMemoryMessaging provides a MessagingService that isnt backed by any kind of network or disk storage system, but just uses regular queues on the heap instead. It is intended for unit testing and developer convenience when all entities on the network are being simulated in-process.

An instance can be obtained by creating a builder and then using the start method.