Properties
getCurrentState
getCurrentState: (() => T1)
performAction
performAction: PerformAction<T2, T3>
subscribe
subscribe: ((newListener) => (() => void))
Type declaration
-
- (newListener): (() => void)
-
Parameters
-
newListener: ((state) => void)
-
- (state): void
-
Returns void
Returns (() => void)