Interface StepFields<K>
interface StepFields<K extends EventKind> {
attempt: Attempt;
journeyId: JourneyId;
kind: K;
sequence: number;
step: StepName;
timestamp: Timestamp;
workflow: WorkflowName;
}
attempt: Attempt;
journeyId: JourneyId;
kind: K;
sequence: number;
step: StepName;
timestamp: Timestamp;
workflow: WorkflowName;
}
Type Parameters
- K extends EventKind
Hierarchy (View Summary)
Properties
Readonlyattempt
The attempt.
Readonlyjourney Id
The journey's ID.
Readonlykind
The event's kind, which tells what else it carries.
Readonlysequence
sequence: number
The event's position in its journey's event stream, from 1.
Readonlystep
The step's name.
Readonlytimestamp
When the event was emitted.
Readonlyworkflow
The workflow's name.
The fields every event about a step carries: the fixed fields, and the step and attempt it is about.