Skip to main content

Module prompt_events

Module prompt_events 

Source
Expand description

The events that put a countdown or a question in front of the person (a sensitive request’s countdown, an agent’s start notice, a pane’s question), and the names they go out under. They live in the core so backend/mps_events.rs names them without reaching up into sagas/; the sagas re-export them under their old paths. The wire shape is pinned by sagas/prompt_events_tests.rs.

Structs§

GrantsEvent
agent:grants: the agents with an “Always” for topic, after a change.
NoticeView
A notice as the pane draws it: a one-line line, a pending card with a countdown, or the end of a card (cleared, with its outcome).
PaneConfirmView
A question as the pane draws it: pending, or its end (cleared).
SensitiveClearedEvent
sensitive:cleared: the countdown ended, and how.
SensitiveView
A countdown as the person’s banner shows it.

Constants§

EVENT_AGENT_GRANTS
EVENT_AGENT_NOTICE
EVENT_PANE_CONFIRM
EVENT_SENSITIVE_CLEARED
EVENT_SENSITIVE_PENDING