Squidie.Runtime.Journal.Commands.SignalInterpreter (squidie v0.3.3)

Copy Markdown View Source

Routes normalized runtime command signals to journal command modules.

The interpreter keeps signal envelope parsing at one boundary so start, replay, cancellation, and manual-control commands can stay focused on their own journal mutations.

Summary

Functions

Applies a normalized runtime command signal to the journal runtime.

Functions

apply(signal, opts)

@spec apply(
  Squidie.Runtime.Signal.t(),
  keyword()
) :: {:ok, term()} | {:error, term()}

Applies a normalized runtime command signal to the journal runtime.