Grizzly.CommandHandlers.AggregateReport (grizzly v8.7.0)

View Source

Handler for working with reports that could take many report frames to complete

This handler will handle aggregating the responses into one report command for ease of consumption by callers.

Summary

Types

opt()

@type opt() :: {:complete_report, atom(), [{:aggregate_param, atom()}]}

state()

@type state() :: %{
  complete_report: atom(),
  aggregate_param: atom(),
  aggregates: [any()]
}