# `BB.Parameter.Changed`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/parameter/changed.ex#L5)

Payload type for parameter change events.

Published via PubSub when a parameter value changes.

# `t`

```elixir
@type t() :: %BB.Parameter.Changed{
  new_value: term(),
  old_value: term(),
  path: [atom()],
  source: :local | :remote | :init | :persisted | :startup
}
```

# `new`

```elixir
@spec new(
  atom(),
  keyword()
) :: {:ok, BB.Message.t()} | {:error, term()}
```

---

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