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

Copy Markdown View Source

Opaque reducer state created by Insider.Detectors.RestartRecurrence.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.RestartRecurrence.State{
  buckets: map(),
  last_observed_at: integer() | nil,
  max_keys: pos_integer(),
  seen: map(),
  threshold: pos_integer(),
  window_us: pos_integer()
}