# `AshJido.SensorDispatchBridge`
[🔗](https://github.com/agentjido/ash_jido/blob/v1.0.0/lib/ash_jido/sensor_dispatch_bridge.ex#L1)

Helper for forwarding dispatched signals to a `Jido.Sensor.Runtime` process.

# `forward_error`

```elixir
@type forward_error() :: :invalid_signal_message | :runtime_unavailable
```

# `forward_many_result`

```elixir
@type forward_many_result() :: %{
  forwarded: non_neg_integer(),
  errors: [%{message: term(), reason: forward_error()}]
}
```

# `forward`

```elixir
@spec forward(term(), Jido.Sensor.Runtime.server()) :: :ok | {:error, forward_error()}
```

Forwards a dispatched signal message to a sensor runtime.

Accepts raw `%Jido.Signal{}` structs and the wrapped signal message shapes
commonly received from Jido dispatch targets.

# `forward_many`

```elixir
@spec forward_many([term()], Jido.Sensor.Runtime.server()) :: forward_many_result()
```

Forwards many signal messages and returns a summary of successes and failures.

# `forward_or_ignore`

```elixir
@spec forward_or_ignore(term(), Jido.Sensor.Runtime.server()) ::
  :ok | :ignored | {:error, :runtime_unavailable}
```

Forwards a signal message and treats non-signal mailbox noise as ignored.

---

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