Table of Contents

Subscription

In one line: a view published to remote consumers, streaming its deltas over a transport.

When the consumer of a view is remote — a connected client, another process — a subscription publishes the view and pushes its Added/Removed/Modified deltas out as it refreshes, with per-subscription priority and overload throttling. It's the same view + delta machinery from views, wired to a transport, so a client can mirror "the units near my camera" without re-querying.

You register a PublishedView (managed by a PublishedViewRegistry). Reach for it when you're building a server, not a single-process simulation.

How it relates

  • View — a subscription is a view published outward.
  • Query — the underlying question the view answers.
  • System — subscription output is driven at tick end, alongside the tick lifecycle.

In the API

Learn & use