@yantrix/redux v0.0.2 • Docs
Yantrix API / @yantrix/redux / useReduxAutomata
Function: useReduxAutomata()
ts
function useReduxAutomata(automataId): readonly [GenericAutomata, (action) => TAutomataStateContext<number, Record<number, any>>]
Parameters
• automataId: string
Returns
readonly [GenericAutomata
, (action
) => TAutomataStateContext
<number
, Record
<number
, any
>>]