Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

PassWriter

PassWriter<T> = HandsStreamedRecord<T> extends true ? HandsPredictedRecord<T> extends true ? Authority | SetupWriter : SystemStep | Authority | SetupWriter : HandsPredictedRecord<T> extends true ? PredictedStep | Authority | SetupWriter : SystemStep | Authority | SetupWriter

What updateEach takes first for a query, which visits the entities its writer may write: any step where the query hands a record the room streams, on a page visiting the page’s own entities alone. Or a predicted step where it hands a predicted trait any entity may hold, on the player’s page visiting only what the page predicts. Or any step where every record it hands is Reach.Local or Reach.Authority. A query that hands both a streamed and a predicted record takes an authority: on a page the two sets never meet.

Type Parameter
T extends QueryParameter[]