Actions extends StoreActions<StoreState>
private
readonly
initialState: StoreState
private
readonly
reduxDevtoolsConnection: ReduxDevtoolsConnection
readonly
state: Immutable<StoreState>
private
readonly
storeListeners: Map<string, (newState: Immutable<StoreState>,prevState: Immutable<StoreState>,) => void>
dispatch<T extends keyof Actions>(actionKey: T,payLoadCallback: (storeState: Immutable<StoreState>) => Parameters<Actions[T]>[0],): ReturnType<Actions[T]>
isInputFunction(input: unknown): input is (state: Immutable<StoreState>) => Immutable<StoreState>
isPropertyInputFunction<T extends keyof StoreState>(input: unknown): input is (state: Immutable<StoreState>) => StoreState[T]
private
onStoreChanged(newState: Immutable<StoreState>,prevState: Immutable<StoreState>,actionKey: keyof Actions,payload: unknown,): void
reset(): void
Reset store back to initial state
subscribeToStoreChange(onStoreChangedCallback: (newState: Immutable<StoreState>,prevState: Immutable<StoreState>,) => void): () => boolean
updateProperty<T extends keyof StoreState>(key: T,callback: (state: Immutable<StoreState>) => StoreState[T],): void
Directly update a property in the store state using the current store state
updateProperty<T extends keyof StoreState>(key: T,value: StoreState[T],): void
Directly update a property in the store state
updateProperty<T extends keyof StoreState>(key: T,input: StoreState[T] | ((state: Immutable<StoreState>) => StoreState[T]),): void
updateState(callback: (state: Immutable<StoreState>) => Immutable<StoreState>): void
Directly update the store state using the current store state
updateState(state: Immutable<StoreState>): void
Directly update the store state
private
updateStoreProperty<T extends keyof StoreState>(): void
private
updateStoreState(): void