InProcessMessageQueue
class InProcessMessageQueue(packetRepository: PacketRepository, radioController: RadioController, dispatchers: CoroutineDispatchers) : MessageQueue, MeshWorkerManager(source)
MessageQueue and MeshWorkerManager for hosts without a background work scheduler (desktop and web): both hand the packet straight to radioController from this process.
A send waits out a handshake in progress, so the queued packets MeshConnectionManager re-enqueues once the radio's config loads go out when the handshake completes. A packet enqueued while disconnected stays QUEUED for that re-enqueue on the next connect.
Constructors
Link copied to clipboard
constructor(packetRepository: PacketRepository, radioController: RadioController, dispatchers: CoroutineDispatchers)