Imp.Playbook.Operation.UpdateCounters (Imp v0.5.0)

Copy Markdown View Source

Atomically increments an entry's helpful and harmful counters.

Summary

Types

t()

@type t() :: %Imp.Playbook.Operation.UpdateCounters{
  expected_revision: pos_integer() | nil,
  harmful: non_neg_integer(),
  helpful: non_neg_integer(),
  id: String.t()
}

Functions

new(id, opts \\ [])

@spec new(String.t(), keyword()) :: t()