BB.Command.Context (bb v0.4.0)

View Source

Context provided to command handlers during execution.

Contains references to the robot module, static topology, dynamic state, and the unique execution identifier.

Summary

Types

t()

@type t() :: %BB.Command.Context{
  execution_id: reference(),
  robot: BB.Robot.t(),
  robot_module: module(),
  robot_state: BB.Robot.State.t()
}