# `Insider.Detectors.MailboxGrowth`
[🔗](https://github.com/hiivemarkets/insider/blob/v0.1.0/lib/insider/detectors/mailbox_growth.ex#L1)

Detects sustained mailbox growth with no observed reductions progress.

This bounded streaming reducer consumes complete scalar process samples from
`Insider.Collector.Poller`. A finding means only that the sampled mailbox grew
while the cumulative reductions counter did not; it does not prove that no
application, NIF, port, or external work completed.

# `output`

```elixir
@type output() ::
  {:finding, Insider.Finding.t()}
  | {:detector_error, Insider.Detectors.MailboxGrowth.Error.t()}
```

# `new`

```elixir
@spec new(keyword()) ::
  {:ok, Insider.Detectors.MailboxGrowth.State.t()} | {:error, :invalid_options}
```

# `observe`

```elixir
@spec observe(Insider.Detectors.MailboxGrowth.State.t(), term(), integer()) ::
  {Insider.Detectors.MailboxGrowth.State.t(), [output()]}
```

---

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