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 the sender’s page, typed by its handle: accepted
with the value the handle returns, refused with a reason from
RefusalOf<handle>, unknown where the sender’s page lost the room
first, or pending, which only a hook shows.
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
Handle |