roboto.domain.platform_events.once_per#
Module Contents#
- class roboto.domain.platform_events.once_per.OncePer#
Bases:
roboto.compat.StrEnumA grain an event offers for deduplication: the occurrence itself, or an entity the event names.
This is an event’s vocabulary, not a trigger’s. Each
PlatformEventTypedeclares the grains it supports, and how an occurrence projects onto each, in itsPlatformEventDescriptor; that projection is what turns one occurrence into one idempotency token. A trigger only chooses among the grains its events offer, and its choice must be legal for every event type it subscribes to.- Dataset = 'dataset'#
Fire once per dataset.
- Event = 'event'#
Fire once per event, the annotation marking a span of time on your data.
- File = 'file'#
Fire once per file.
- Invocation = 'invocation'#
Fire once per action invocation.
- Occurrence = 'occurrence'#
Fire on every occurrence; nothing collapses. Supported by every event type.
- Session = 'session'#
Fire once per session.