Jizoku.Runtime.Journal.Replay (jizoku v0.4.0)

Copy Markdown View Source

Backward-compatible alias for journal replay commands.

New code should call Jizoku.Runtime.Journal.Commands.Replay. This module preserves the older runtime namespace for existing host integrations and tests.

Summary

Functions

Replays an eligible journal-backed workflow run.

Types

replay_error()

Functions

replay(run_id, replay_opts \\ [], config_opts \\ [])

@spec replay(String.t(), keyword(), keyword()) ::
  {:ok, Jizoku.ReadModel.Inspection.Snapshot.t()} | {:error, replay_error()}

Replays an eligible journal-backed workflow run.