annotations-design-patterns
Guías (ES)
Guides (EN)
Preparing search index...
index
StateMachine
Class StateMachine<State>
Type Parameters
State
extends
string
=
string
Index
Constructors
constructor
Accessors
state
Methods
transition
To
Constructors
constructor
new
StateMachine
<
State
extends
string
=
string
>
(
initialState
:
State
,
)
:
StateMachine
<
State
>
Type Parameters
State
extends
string
=
string
Parameters
initialState
:
State
Returns
StateMachine
<
State
>
Accessors
state
get
state
()
:
State
Estado actual.
Returns
State
Methods
transition
To
transitionTo
(
next
:
State
)
:
void
Cambia el estado. Normalmente lo hace @TransitionTo.
Parameters
next
:
State
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
state
Methods
transition
To
Guías (ES)
Guides (EN)
annotations-design-patterns
Loading...
Estado actual.