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 eff state action. state -> (action -> state -> state) -> Store eff state action