Skip to content

WriteTransitionInstance

Defined in: runtime/state-machine.ts:26

TWriteItem extends WriteItem = WriteItem

execute(payload): Promise<TWriteItem>

Defined in: runtime/state-machine.ts:32

Performs this state transition, with the specified payload forming the backing event. If the current user cannot perform this transition, an error will be thrown.

Record<string, unknown>

Promise<TWriteItem>