CapGdlrCommandBus.CommandMetaΒΆ

Inherits: RefCounted < Object

Metadata of one command dispatch.

PropertiesΒΆ

MethodsΒΆ


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.


float timeout πŸ”—

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.