Expand description
Event classification. The kernel routes on the header alone; it never parses a payload to decide what an event means.
Enums§
- Class
- How
prepare_eventroutes an event, decided from the header alone.
Constants§
- CANCEL_
STEP_ ID - Step id of the run-level cancel marker.
- COMPLETE_
STEP_ ID - Step id of the marker a
completecommand writes. - CONTINUE_
STEP_ ID - Step id of the marker a
continue_as_newcommand writes. - FAIL_
STEP_ ID - Step id of the marker the host writes when a reducer throws (
WorkflowFailure). - NONDETERMINISM_
STEP_ ID - Step id of the nondeterminism marker written by the re-fold check.
- TIMEOUT_
SUFFIX - Suffix of the deadline timer an
await_signalwithtimeout_msreserves beside its signal step: signalxraces timerx:timeout. Whichever settles first closes the other ascancelled, so the reducer only ever sees the winner.
Functions§
- classify
- Route an event by
kind,statusand, for markers,step_id. - timeout_
owner - The signal step a
<id>:timeouttimer is paired with, orNonewhenstep_iddoes not carry the suffix. The caller still checks that a signal step of that id is open. - timeout_
step_ id - Step id of the deadline timer paired with signal step
step_id.