Skip to content

@yantrix/react v0.5.2 • Docs


Yantrix API / @yantrix/react / IContextFSM

Interface: IContextFSM ​

Properties ​

destroyFSM() ​

ts
destroyFSM: (id) => void;

Parameters ​

• id: string

Returns ​

void


getStore() ​

ts
getStore: (id) => IYantrixBoundStore<TAutomata>;

Parameters ​

• id: string

Returns ​

IYantrixBoundStore<TAutomata>


initializeFSM() ​

ts
initializeFSM: (inst) => string;

Parameters ​

• inst: TAutomata

Returns ​

string