# `Jizoku.Step.Context`
[🔗](https://github.com/dark-trench/jizoku/blob/main/lib/jizoku/step/context.ex#L2)

Durable runtime context passed to native Jizoku steps.

The context intentionally exposes Jizoku concepts only. It gives steps the
current run identity, workflow module, step name, attempt number, and the
durable run state available before the current attempt started.

# `t`

```elixir
@type t() :: %Jizoku.Step.Context{
  attempt: pos_integer() | nil,
  claim_id: String.t() | nil,
  idempotency_key: String.t() | nil,
  partition: String.t() | nil,
  run_id: Ecto.UUID.t(),
  runnable_key: String.t() | nil,
  state: map(),
  step: atom(),
  step_opts: keyword(),
  trace: Jizoku.Runtime.Trace.t() | nil,
  workflow: module()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
