Interface

StateInitConfig

StateInitConfig

Configuration options accepted when constructing a new State.
Properties:
Name Type Attributes Description
dispatchAfterStateChangeEvent boolean <optional>
Whether to dispatch a state-change event after this state is created.
excludeAutoSteps AutoStepExclusion <optional>
States to exclude from automatic stepping.
previousAction ActionInfo <optional>
The action that led to this state, if any.
isCached boolean <optional>
Whether this state was loaded from cache rather than fetched from the backend.
cacheKey string <optional>
The cache key associated with this state.

View Source lib/flow-api/State.ts, line 369