Module

OutWatch.Util.Store

Package
purescript-outwatch
Repository
OutWatch/purescript-outwatch

#Store Source

type Store eff state action = { sink :: Observer eff action, src :: Observable state }

#createStore Source

createStore :: forall action state eff. state -> (action -> state -> state) -> Store eff state action