Search
Preparing search index...
The search index is not available
ezyVet Javascript Helper Library Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
src/createStateMachine/types
StateMachine
Interface StateMachine<T1, T2, T3>
Type parameters
T1
:
string
T2
:
string
T3
:
ActionToPayload
<
T2
>
Hierarchy
StateMachine
Index
Properties
get
Current
State
perform
Action
subscribe
Properties
get
Current
State
get
Current
State
:
(
)
=>
T1
Type declaration
(
)
:
T1
Returns
T1
perform
Action
perform
Action
:
PerformAction
<
T2
,
T3
>
subscribe
subscribe
:
(
newListener
:
(
state
:
T1
)
=>
void
)
=>
(
)
=>
void
Type declaration
(
newListener
:
(
state
:
T1
)
=>
void
)
:
(
)
=>
void
Parameters
newListener:
(
state
:
T1
)
=>
void
(
state
:
T1
)
:
void
Parameters
state:
T1
Returns
void
Returns
(
)
=>
void
(
)
:
void
Returns
void
Globals
src/create
State
Machine/types
Create
State
Machine
Props
State
Machine
get
Current
State
perform
Action
subscribe
Action
Handler
Action
ToPayload
Perform
Action
State
Transitions
Generated using
TypeDoc