# `SquidMesh.Step.Context`
[🔗](https://github.com/ccarvalho-eng/squid_mesh/blob/main/lib/squid_mesh/step/context.ex#L1)

Durable runtime context passed to native Squid Mesh steps.

The context intentionally exposes Squid Mesh 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() :: %SquidMesh.Step.Context{
  attempt: pos_integer() | nil,
  run_id: Ecto.UUID.t(),
  state: map(),
  step: atom(),
  workflow: module()
}
```

---

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