Vial.Cauldron (vial v0.1.0)

The container for data and events that Vials operate on.

Link to this section Summary

Link to this section Types

Specs

t() :: %Vial.Cauldron{
  assigns: Map.t(),
  data: any(),
  events: list(),
  events_handled: boolean(),
  halted: boolean(),
  handlers: term()
}

Link to this section Functions

Link to this function

add_event(cauldron, event)

Link to this function

assign(cauldron, key, value)

Link to this function

set_data(cauldron, data)

Link to this function

update_data(cauldron, fun)