@thingts/fsm-engine - v1.2.1
github.com/thingts/fsm-engine
Preparing search index...
FsmBeginAction
Type Alias FsmBeginAction<State, Events, E, Context>
FsmBeginAction
:
(
params
:
{
context
:
Context
;
event
:
E
;
fsm
:
FsmActionApi
<
Events
>
;
meta
:
Readonly
<
{
state
:
State
}
>
;
payload
:
Readonly
<
PayloadOf
<
Events
,
E
>
>
;
}
,
)
=>
void
Begin action callback.
Runs at the start of event handling, before transitions are evaluated.
Type Parameters
State
extends
string
Events
extends
EventMap
E
extends
EventName
<
Events
>
=
EventName
<
Events
>
Context
=
void
Type Declaration
(
params
:
{
context
:
Context
;
event
:
E
;
fsm
:
FsmActionApi
<
Events
>
;
meta
:
Readonly
<
{
state
:
State
}
>
;
payload
:
Readonly
<
PayloadOf
<
Events
,
E
>
>
;
}
,
)
:
void
Parameters
params
:
{
context
:
Context
;
event
:
E
;
fsm
:
FsmActionApi
<
Events
>
;
meta
:
Readonly
<
{
state
:
State
}
>
;
payload
:
Readonly
<
PayloadOf
<
Events
,
E
>
>
;
}
Returns
void
Settings
Member Visibility
External
Inherited
Protected
Theme
OS
Light
Dark
github.com/thingts/fsm-engine
@thingts/fsm-engine - v1.2.1
Loading...
Begin action callback.
Runs at the start of event handling, before transitions are evaluated.