# `WardrikTriggers.Run`

Runs one due trigger or one webhook request. Reads feeds, asks the agent, and reports the status
to the target and to telemetry.

# `clock`

```elixir
@spec clock(
  map(),
  String.t(),
  WardrikTriggers.Trigger.t(),
  DateTime.t(),
  DateTime.t()
) ::
  WardrikTriggers.Trigger.status()
```

Runs `trigger`, which was due at `due`, at `now`.

A run more than a minute late with `missed: :skip` returns `:missed` and asks nothing.

# `webhook`

```elixir
@spec webhook(map(), String.t(), String.t(), WardrikTriggers.Webhook.request()) ::
  :ok | {:error, :not_found | :busy | :no_agent | :failed}
```

Asks the agent about a webhook request. See `WardrikTriggers.deliver/4`.

---

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