Imp.Playbook.Delta (Imp v0.5.0)

Copy Markdown View Source

An ordered, atomic set of playbook operations with optional optimistic guards.

Summary

Types

operation()

t()

@type t() :: %Imp.Playbook.Delta{
  expected_revision: non_neg_integer() | nil,
  operations: [operation()],
  parent_hash: String.t() | nil
}

Functions

new(operations, opts \\ [])

@spec new([operation()], keyword()) :: t()