Replay and rebuild helpers on top of ASM.Store.
Summary
Functions
@spec rebuild_run(pid(), String.t(), String.t()) :: {:ok, %{state: ASM.Run.State.t(), result: ASM.Result.t(), events: [ASM.Event.t()]}} | {:error, ASM.Error.t()}
@spec replay_session(pid(), String.t(), term(), (term(), ASM.Event.t() -> term())) :: {:ok, term()} | {:error, ASM.Error.t()}