Skip to content

InterestView

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

What a policy sees when the server asks it for one connection’s interest.

candidates: readonly number[]

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

Every currently replicated entity — the set to filter.


connectionId: number

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

The connection being evaluated.


optional owned?: readonly number[]

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

The entities this connection owns, when the host keeps an index of them. A policy that needs its own anchors should prefer this over reading Replicated.owner off every candidate; absent, fall back to that.


world: World

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