CapGdlrCommandBus.CommandMetaΒΆ
Inherits: RefCounted < Object
Metadata of one command dispatch.
PropertiesΒΆ
MethodsΒΆ
to_dict() |
|
from_dict(serialized: Dictionary) static |
Property DescriptionsΒΆ
StringName id π
Unique identifier of the dispatch.
StringName correlation_id π
Identifier shared by every command of one workflow.
StringName causation_id π
Identifier of the command that caused this one.
StringName idempotency_key π
Key that lets a receiver ignore a repeated dispatch.
Timeout in seconds. Godular does not enforce it. Transports can.
Dictionary actor π
Free-form data about who dispatched the command.
CapGdlrCommandBus.CommandRoute route π
Where the command runs. Required by the bundled bus.
Method DescriptionsΒΆ
Dictionary to_dict() π
Serializes the metadata. See from_dict().
CapGdlrCommandBus.CommandMeta from_dict(serialized: Dictionary) static π
Restores metadata from the output of to_dict(). Only id is required.