valtio-fsm
API
GitHub
Preparing search index...
ContextChangeListener
Type Alias ContextChangeListener<TContext>
ContextChangeListener
:
(
context
:
TContext
,
changes
:
{
key
:
string
;
previousValue
:
unknown
;
value
:
unknown
}
[]
,
)
=>
void
Listener function for context property changes
Type Parameters
TContext
Context data type for the state machine
Type declaration
(
context
:
TContext
,
changes
:
{
key
:
string
;
previousValue
:
unknown
;
value
:
unknown
}
[]
,
)
:
void
Parameters
context
:
TContext
changes
:
{
key
:
string
;
previousValue
:
unknown
;
value
:
unknown
}
[]
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
Theme
OS
Light
Dark
Core API
Function Reference
API
GitHub
valtio-fsm
Loading...
Listener function for context property changes