Odyssey.DB.WorkflowRun (odyssey v0.2.1)
View SourceA workflow run is a a single run of a specified workflow.
Summary
Types
@type status() :: :running | :suspended | :completed | :error
@type t() :: %Odyssey.DB.WorkflowRun{ __meta__: term(), ended_at: DateTime.t() | nil, id: integer(), inserted_at: DateTime.t(), name: String.t(), next_phase: Odyssey.Phase.index(), oban_job_id: integer(), phases: Odyssey.Workflow.t(), started_at: DateTime.t(), state: term(), status: status(), updated_at: DateTime.t() }
Functions
@spec jump_to_index(t(), Odyssey.Phase.index()) :: t()
@spec jump_to_phase(t(), Odyssey.Phase.id()) :: t()