Search documentation of bb

# BB.Dsl.Category (bb v0.17.0)

Copy Markdown View Source

A command category for grouping commands with concurrent execution limits.

Categories define logical groups of commands (e.g., `:motion`, `:sensing`, `:auxiliary`) with configurable concurrency limits. Commands in different categories can run concurrently, while commands in the same category are limited to the category's `concurrency_limit`.

The `:default` category is always implicitly available with a concurrency limit of 1, matching the current single-command behaviour.

## Summary

### Types

t()

## Types

# t()

    @type t() :: %BB.Dsl.Category{
      __identifier__: any(),
      __spark_metadata__: Spark.Dsl.Entity.spark_meta(),
      concurrency_limit: pos_integer(),
      doc: String.t() | nil,
      name: atom()
    }