Continuum.Readiness (continuum v0.7.1)

Copy Markdown View Source

Stable local runtime readiness and drain status.

Summary

Types

t()

@type t() :: %Continuum.Readiness{
  active_run_count: non_neg_integer(),
  drained?: boolean(),
  instance: atom(),
  last_drain: map() | nil,
  pending_claim_count: non_neg_integer(),
  ready?: boolean(),
  state: :ready | :draining | :drained | :degraded | :not_started
}