InProcessMessageQueue

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)

Functions

Link copied to clipboard
open suspend override fun enqueue(persistedId: PersistedPacketId)
Link copied to clipboard
open override fun enqueueSendMessage(persistedId: PersistedPacketId)