# `Spectre.Operation.Wait`
[🔗](https://github.com/elchemista/spectre/blob/0.4.0/lib/spectre/operation/wait.ex#L1)

Portable wait boundary retained by an operational loop without a live Runner.

# `t`

```elixir
@type t() :: %Spectre.Operation.Wait{
  due_at: non_neg_integer() | nil,
  generation: non_neg_integer() | nil,
  id: String.t(),
  key: term(),
  kind: atom(),
  metadata: map(),
  payload: term(),
  reason: term()
}
```

# `new`

```elixir
@spec new(
  atom(),
  keyword()
) :: t()
```

# `validate`

```elixir
@spec validate(t()) :: :ok | {:error, term()}
```

# `validate!`

```elixir
@spec validate!(t()) :: t()
```

---

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