Insider.Detectors.MailboxGrowth.State (Insider v0.1.0)

Copy Markdown View Source

Opaque reducer state created by Insider.Detectors.MailboxGrowth.new/1.

Treat the struct as a value: pass it to observe/3 and keep the returned state. Its fields are not a public contract.

Summary

Types

t()

@type t() :: %Insider.Detectors.MailboxGrowth.State{
  buckets: map(),
  ignored_subjects: [Insider.Identity.Subject.t()],
  last_observed_at: integer() | nil,
  max_keys: pos_integer(),
  minimum_growth: pos_integer(),
  minimum_queue_length: pos_integer(),
  sample_count: pos_integer(),
  seen: map(),
  window_us: pos_integer()
}