WriteTransitionInstance
Defined in: runtime/state-machine.ts:26
Type Parameters
Section titled “Type Parameters”TWriteItem
Section titled “TWriteItem”TWriteItem extends WriteItem = WriteItem
Methods
Section titled “Methods”execute()
Section titled “execute()”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.
Parameters
Section titled “Parameters”payload
Section titled “payload”Record<string, unknown>
Returns
Section titled “Returns”Promise<TWriteItem>