BB.Controller.Action.Context (bb v0.15.0)

View Source

Context provided to action callbacks.

Contains references to the robot module, static topology, dynamic state, and the controller name that triggered the action.

Summary

Types

t()

@type t() :: %BB.Controller.Action.Context{
  controller_name: atom(),
  robot: BB.Robot.t(),
  robot_module: module(),
  robot_state: BB.Robot.Runtime.robot_state()
}