Skip to main content

Repository

Repositories are collection-oriented access points.

Why repositories exist​

They group and expose sets of content or runtime objects in a consistent way.

Typical examples include repositories for behavior trees or other authored content that the runtime needs to query repeatedly.

How repositories differ from services​

  • repositories are mainly about access to collections
  • services are mainly about behavior and operations

In many cases, a service will depend on a repository to find the content it needs.

Where repositories help users most​

They matter whenever you are assigning authored content such as work trees or need trees, because the runtime needs a stable place to load and query those collections from.