UNPKG

@snipsonian/observable-state

Version:

Observable-state snippets (redux-like)

7 lines (6 loc) 371 B
import { Middleware } from './types'; import { IObservableStateStore } from '../store/types'; export default function createObservableStateActionMiddleware<State, ExtraProcessInput, StateChangeNotificationKey>({ store, extraProcessInput, }: { store: IObservableStateStore<State, StateChangeNotificationKey>; extraProcessInput?: ExtraProcessInput; }): Middleware;