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

CommandResult

CommandResult<Handle> = ResultBase<Handle> & { isPredicted: boolean; skipped: readonly (Entity | null)[]; status: Accepted; value: PageValueOf<Handle>; } | { detail?: string; isPredicted: boolean; reason: RefusalOf<Handle>; status: Refused; } | { status: Unknown; } | { status: Pending; }

A command’s result on her page, typed by its handle: accepted with the value the handle returns, refused with a reason from RefusalOf<handle>, unknown where her page lost the room first, or pending, which only a hook shows.

Type Parameter
Handle