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

useCommandResults

useCommandResults<Handle>(handle): readonly CommandResult<Handle>[]

The player’s last 16 results of handle on this page, newest last: each Pending from the moment the player sends it, then settled in its place. As useLatestCommandResult keeps the newest alone.

Type Parameter
Handle extends AnyCommandHandle
Parameter Type
handle Handle

readonly CommandResult<Handle>[]