MingaEditor.Agent.Events (Minga v0.1.0)

Copy Markdown View Source

Routes foreground agent events to focused, process-free workflows.

Live events enter the same domain-family dispatch. The Editor remains the only mailbox owner, and each workflow directly composes owner transitions with rendering, synchronization, logging, or compaction.

Summary

Functions

Applies one foreground agent event through its focused workflow.

Applies one coalesced agent stream batch without changing mailbox ownership.

Functions

dispatch(state, event)

@spec dispatch(MingaEditor.State.t(), term()) :: MingaEditor.State.t()

Applies one foreground agent event through its focused workflow.

dispatch_batch(state, batch)

@spec dispatch_batch(MingaEditor.State.t(), [term()]) :: MingaEditor.State.t()

Applies one coalesced agent stream batch without changing mailbox ownership.