Skip to content
Version: xstate@5.0.0

StateNode.output property​

The output data sent with the "xstate.done.state._id_" event if this is a final state node.

Signature:

output?: Mapper<MachineContext, EventObject, unknown, EventObject> | NonReducibleUnknown;