State Backed
Preparing search index...
The search index is not available
@statebacked/machine
@statebacked/machine
XStateBehavior
Interface XStateBehavior<TEvent, TEmitted>
Behavior spawnable.
Type Parameters
TEvent
extends
XStateEventObject
TEmitted
=
any
Hierarchy
XStateBehavior
Index
Properties
initial
State
start?
transition
Properties
initial
State
initial
State
:
TEmitted
Optional
start
start
?:
(
(
actorCtx
)
=>
TEmitted
)
Type declaration
(
actorCtx
)
:
TEmitted
Parameters
actorCtx
:
XStateActorContext
<
TEvent
,
TEmitted
>
Returns
TEmitted
transition
transition
:
(
(
state
,
event
,
actorCtx
)
=>
TEmitted
)
Type declaration
(
state
,
event
,
actorCtx
)
:
TEmitted
Parameters
state
:
TEmitted
event
:
TEvent
actorCtx
:
XStateActorContext
<
TEvent
,
TEmitted
>
Returns
TEmitted
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
initial
State
start
transition
State Backed
State Backed Docs
Github
@statebacked/machine
AnyXState
Event
Object
AnyXState
State
Machine
XState
Actor
Context
XState
Actor
Ref
XState
Behavior
XState
Interop
Observable
XState
Interop
Subscribable
XState
Observer
XState
Subscribable
XState
Subscription
Allow
Read
Allow
Write
Anonymous
Auth
Context
Default
Auth
Context
Default
Event
Ephemeral
Spawn
Options
Event
Event
Write
Request
Initialization
Write
Request
Inter
Machine
Auth
Context
Persistent
Actor
Ref
Persistent
Instance
Descriptor
Read
Request
Spawn
Options
State
Path
State
Value
Upgrade
Context
Upgrade
State
Write
Request
XState
Event
XState
Event
Object
XState
Invoke
Callback
XState
Receiver
XState
Sender
XState
Spawnable
persistent
Invocable
Source
send
To
spawn
Ephemeral
Instance
spawn
Persistent
Instance
Generated using
TypeDoc
Behavior spawnable.