Skip to main content

Module progress

Module progress 

Source
Expand description

Progress event types and broadcast channel for real-time mapping telemetry.

The mapper emits ProgressEvents during mapping, which flow through a tokio::sync::broadcast channel to all subscribers (TUI, socket clients, audit log). When no subscriber exists, events are silently dropped.

Structs§

ProgressEvent
A progress event emitted during mapping or other long operations.

Enums§

MappingLayer
Identifies which mapping layer is active.
ProgressEventKind
The specific kind of progress event.

Functions§

channel
Create a new progress broadcast channel with a bounded buffer.
emit
Convenience helper: emit a progress event, silently ignoring send errors (which occur when no receivers are listening).

Type Aliases§

ProgressReceiver
Receiver handle for consuming progress events.
ProgressSender
Sender handle for emitting progress events.