Absurd.SpawnResult (absurd v0.2.1)

Copy Markdown View Source

Identifies a task and the run returned by spawn or retry.

created is false when an idempotency key resolves to an existing task or when a failed task is retried in place.

Summary

Types

t()

The durable identity returned by a spawn or retry operation.

Types

t()

@type t() :: %Absurd.SpawnResult{
  attempt: pos_integer(),
  created: boolean(),
  queue: String.t(),
  run_id: binary(),
  task_id: binary()
}

The durable identity returned by a spawn or retry operation.