Expand description
§Event Trigger Action System (ETAS)
The core type is CompiledTriggers, which provides functions to execute events and to receive actions.
Structs§
- Compiled
Trigger - A compiled trigger.
- Compiled
Trigger Condition - A compiled trigger condition.
- Compiled
Triggers - A compiled collection of triggers.
- Trigger
- A raw trigger.
- Trigger
Handle - A handle of a trigger.
- Triggers
- A raw collection of triggers.
Enums§
- Trigger
Condition - The (uncompiled) trigger conditions for events.
Traits§
- Trigger
Action - A trigger action.
- Trigger
Event - A trigger event.
- Trigger
Event Identifier - An identifier of a trigger.
Functions§
- and
- Constructs a trigger condition that triggers after all given conditions have triggered.
- any_n
- Constructs a trigger condition that triggers after the given amount of given trigger conditions have triggered.
- eq
- Constructs a trigger condition that triggers after an event has been received that is equal to the reference event.
- event_
count - Constructs a trigger condition that triggers after the given event has been received the given amount of times.
- geq
- Constructs a trigger condition that triggers after an event has been received that is greater than or equal to the reference event.
- gt
- Constructs a trigger condition that triggers after an event has been received that is greater than the reference event.
- leq
- Constructs a trigger condition that triggers after an event has been received that is less than or equal to the reference event.
- lt
- Constructs a trigger condition that triggers after an event has been received that is less than the reference event.
- never
- Constructs a trigger condition that never triggers.
- none
- Constructs a trigger condition that triggers immediately.
- or
- Constructs a trigger condition that triggers after any of the given conditions have triggered.
- sequence
- Constructs a trigger condition that triggers after all given conditions have triggered in sequence.