Search
Preparing search index...
The search index is not available
xstate
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
PureAction
Interface PureAction<TContext, TEvent>
Type parameters
TContext
TEvent
:
EventObject
Hierarchy
ActionObject
<
TContext
,
TEvent
>
PureAction
Indexable
[
other:
string
]:
any
Index
Properties
exec
get
type
Properties
Optional
exec
exec
:
ActionFunction
<
TContext
,
TEvent
>
The implementation for executing the action.
get
get
:
(
context
:
TContext
, event
:
TEvent
)
=>
SingleOrArray
<
ActionObject
<
TContext
,
TEvent
>
>
|
undefined
Type declaration
(
context
:
TContext
, event
:
TEvent
)
:
SingleOrArray
<
ActionObject
<
TContext
,
TEvent
>
>
|
undefined
Parameters
context:
TContext
event:
TEvent
Returns
SingleOrArray
<
ActionObject
<
TContext
,
TEvent
>
>
|
undefined
type
type
:
Pure
Globals
Pure
Action
exec
get
type
Generated using
TypeDoc
The implementation for executing the action.