LemonRouter. PhasePublisher
(lemon_router v0.1.0)
View Source
Emits router-owned canonical run phase changes on per-run bus topics.
This module only covers the router phases introduced before gateway ownership begins. It validates canonical phases and legal transitions, skips duplicates, and returns the updated submission struct so coordinator state can track the latest emitted phase.
Summary
Functions
@spec emit( LemonRouter.Submission.t(), LemonCore.RunPhase.t(), LemonCore.RunPhase.t() | nil, atom() ) :: LemonRouter.Submission.t()