View Source Statux.Models.TrackingData (Statux v0.2.0)
This Structure holds data that is required to track :count or :duration constraints. It is updated whenever new data comes in and is used to decide wether or not a state can be transitioned into.
Link to this section Summary
Link to this section Types
Specs
t() :: %Statux.Models.TrackingData{
consecutive_message_count: Integer.t(),
n_of_m_constraint: list(),
occurred_at: DateTime.t() | nil,
valid_history: [boolean()],
valid_history_true_count: Integer.t()
}