CapGdlrCommandHandlers.LocalOutput¶
Inherits: RefCounted < Object
Output of a local handler.
Description¶
The bundled bus serializes it with to_dict() into CapGdlrCommandBus.CommandResult.payload.
Properties¶
Methods¶
void |
_init(state_dispatches_: Array[Dictionary] = [], effects_: Array[Dictionary] = []) |
to_dict() |
|
from_dict(serialized: Dictionary) static |
Property Descriptions¶
Array[Dictionary] state_dispatches 🔗
State changes that the handler requests. Godular does not interpret them.
Array[Dictionary] effects 🔗
Side effects that the handler requests. Godular does not interpret them.
Method Descriptions¶
void _init(state_dispatches_: Array[Dictionary] = [], effects_: Array[Dictionary] = []) 🔗
Creates an output.
Dictionary to_dict() 🔗
Serializes the output. See from_dict().
CapGdlrCommandHandlers.LocalOutput from_dict(serialized: Dictionary) static 🔗
Restores an output from the output of to_dict().