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

findRewindSends

findRewindSends(world, step): SendsAround | undefined

The two sends around the room’s step, for a system that reads many entities at one step with readSentPlace: both the oldest within a second of the last for a step older than any, as in a young room or across a gap while it stood empty. Undefined where the world stands as it is now: for a step past the last send, at the room’s step or past it, and in a world with no sends, such as a page’s. Written in place: read it at once.

Parameter Type
world World
step number

SendsAround | undefined