Durable.Definition.Workflow (Durable v0.1.0-rc)

View Source

Represents a complete workflow definition.

Summary

Types

t()

@type t() :: %Durable.Definition.Workflow{
  compensations: %{required(atom()) => Durable.Definition.Compensation.t()},
  module: module(),
  name: String.t(),
  opts: %{
    optional(:timeout) => pos_integer(),
    optional(:max_retries) => pos_integer(),
    optional(:queue) => atom()
  },
  steps: [Durable.Definition.Step.t()]
}