Type Alias: LinearJourneySnapshot<TContext, TStepId>
@rxova/journey-react / LinearJourneySnapshot
type LinearJourneySnapshot<TContext, TStepId> = LinearSnapshot<TContext, TStepId, unknown>;Defined in: react/src/react.types.ts:247
A linear journey’s core snapshot, verbatim — the exact type
machine.getSnapshot() returns. currentStep is null while the machine is
idle (autoStart: false before controls.start()), exactly as in the
graph tier.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
TContext | unknown |
TStepId extends string | string |