@yantrix/redux v0.2.0 • Docs
Yantrix API / @yantrix/redux / TCreateFSMSliceOptions
Type Alias: TCreateFSMSliceOptions<Automata, StateType, ContextType>
ts
type TCreateFSMSliceOptions<Automata, StateType, ContextType>: object;Type Parameters
• Automata extends TAutomata
• StateType
• ContextType = object
Type declaration
contextToRedux()?
ts
optional contextToRedux: (context) => StateType;Parameters
• context: ContextType
Returns
StateType
Fsm
ts
Fsm: TClassConstructor<Automata>;name
ts
name: string;reducerPath?
ts
optional reducerPath: string;selectors?
ts
optional selectors: SliceSelectors<TAutomataContext<StateType>>;