InterestProviderPrepareView
此内容尚不支持你的语言。
Defined in: net/replication/interest.ts:49
What a provider is given to build one snapshot from.
entities is an iterable, not an array: a provider that scans the population
may, but installing one must not itself cost an O(population) materialization.
Properties
Section titled “Properties”entered?
Section titled “entered?”
readonlyoptionalentered?: readonlynumber[]
Defined in: net/replication/interest.ts:61
Which entities entered replication since the last prepare, and which left.
A provider that keeps state between samples maintains it from these rather
than walking entities; absent (an older host, or a first prepare it was
not given), it has to seed from entities instead.
entities
Section titled “entities”
readonlyentities:Iterable<number>
Defined in: net/replication/interest.ts:51
entityCount
Section titled “entityCount”
readonlyentityCount:number
Defined in: net/replication/interest.ts:52
readonlyoptionalleft?: readonlynumber[]
Defined in: net/replication/interest.ts:62
rechecked?
Section titled “rechecked?”
readonlyoptionalrechecked?: readonlynumber[]
Defined in: net/replication/interest.ts:70
Entities whose replicated components changed SHAPE this sample. A provider caching a per-entity fact re-reads these: an entity that lost the component the fact came from is not something that component’s value feed reports.
readonlyworld:World
Defined in: net/replication/interest.ts:50