ArchAstro.Types.WorkerStatus (archastro v0.2.0)

Copy Markdown

Execution state of the background worker processing a routine run. Reflects the current job status and retry progress.

Summary

Types

t()

@type t() :: %ArchAstro.Types.WorkerStatus{
  attempt: integer(),
  max_attempts: integer(),
  status: String.t()
}

Functions

from_map(data)

@spec from_map(ArchAstro.JSON.object()) :: t()

matches?(value)

@spec matches?(ArchAstro.JSON.t()) :: boolean()

to_map(value)

@spec to_map(t()) :: ArchAstro.JSON.object()