HostKit.Resources.Readiness (host_kit v0.1.0-beta.1)

Copy Markdown View Source

Waits until a set of readiness checks pass.

Summary

Types

check()

t()

@type t() :: %HostKit.Resources.Readiness{
  checks: [check()],
  depends_on: [term()],
  interval: non_neg_integer(),
  meta: map(),
  name: atom() | String.t(),
  timeout: non_neg_integer()
}

Functions

id(readiness)

new(name, opts \\ [])

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