View Source Statux.Models.EntityStatus (Statux v0.1.2)

Using the Status.put/3 function to put a new value

Status.put(id, status_name, value)

you pass in an id. This struct holds the current tracking state for the given id as used by the Status Tracker internally.

Link to this section Summary

Link to this section Types

Specs

t() :: %Statux.Models.EntityStatus{
  current_status: map(),
  id: any() | nil,
  message_count: map(),
  rule_set_name: any(),
  tracking: map()
}

Link to this section Functions

Link to this function

ensure_has_tracking_for_option(entity_state, status_name, status_options, option)

View Source
Link to this function

new_from_rule_set(id, rule_set, rule_set_name \\ :default)

View Source