# `BB.Robot.CommandInfo`
[🔗](https://github.com/beam-bots/bb/blob/main/lib/bb/robot/command_info.ex#L5)

Information about a currently executing command.

The runtime keeps this for admission control and preemption. Introspection
goes through `BB.Command.list/1`, which reads the robot's registry.

# `t`

```elixir
@type t() :: %BB.Robot.CommandInfo{
  category: atom(),
  name: atom(),
  pid: pid(),
  ref: reference()
}
```

---

*Consult [api-reference.md](api-reference.md) for complete listing*
