Skip to content

InterestPolicy

InterestPolicy = (view) => ReadonlySet<Entity> | "all"

Defined in: net/replication/interest.ts:35

Returns the entities relevant to the connection, or 'all' for no filtering. Runs on the server once per ready connection per sample tick, so keep it cheap — return a subset of candidates, don’t run queries of your own.

InterestView

ReadonlySet<Entity> | "all"