Type alias OnStateChange<T>
On
State
Change
<T>: ((handler
: StateChangeHandler<T>, meta
?: { logger
?: Logger; }) => (() => void))
Type declaration
-
- (handler: StateChangeHandler<T>, meta?: {
logger?: Logger;
}): (() => void)
-
Parameters
-
-
Optional
meta: {
logger?: Logger;
}
Returns (() => void)