Struct TriggerEventDelivery

Struct Documentation

struct TriggerEventDelivery

Describes a single trigger event to be delivered to a subscriber.

Public Members

std::string trigger_id

ID of the trigger that fired.

std::string entity_id

Entity the trigger is scoped to.

std::string protocol

Delivery protocol (e.g. “sse”, “x-custom”)

nlohmann::json event_envelope

{timestamp, payload} or {timestamp, error}