PaperForge.Concurrent.Result (PaperForge v1.3.0)

Copy Markdown View Source

Outcome and runtime metrics for one concurrent render job.

Summary

Types

status()

@type status() :: :ok | :error | :timeout | :resource_limit

t()

@type t() :: %PaperForge.Concurrent.Result{
  attempts: pos_integer(),
  duration_us: non_neg_integer(),
  error: term() | nil,
  garbage_collections: non_neg_integer(),
  id: term(),
  index: non_neg_integer(),
  peak_memory_bytes: non_neg_integer(),
  reductions: non_neg_integer(),
  status: status(),
  value: term() | nil
}