Skip to content

five-on-it / packages/net-client/src/intake / Intake

Interface: Intake ​

Defined in: packages/net-client/src/intake.ts:53

What a frame tells the remotes: the ids to drop first, then the news of each remote.

Properties ​

drop ​

drop: number[]

Defined in: packages/net-client/src/intake.ts:55

The remotes to drop, before the news: those the frame removed, then those the snapshot no longer lists.


news ​

news: RemoteNews[]

Defined in: packages/net-client/src/intake.ts:57

The news of every remote the frame changed, in the snapshot's order.