Documentation
Preparing search index...
@quatrain/state-machine
WorkflowTransition
Interface WorkflowTransition<TState, TEvent, TContext>
interface
WorkflowTransition
<
TState
,
TEvent
,
TContext
>
{
action
?:
ActionFunction
<
TContext
>
;
event
:
TEvent
;
from
:
TState
;
guard
?:
GuardFunction
<
TContext
>
;
to
:
TState
;
}
Type Parameters
TState
TEvent
TContext
Index
Properties
action?
event
from
guard?
to
Properties
Optional
action
action
?:
ActionFunction
<
TContext
>
event
event
:
TEvent
from
from
:
TState
Optional
guard
guard
?:
GuardFunction
<
TContext
>
to
to
:
TState
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
action
event
from
guard
to
Documentation
Loading...