Module

Grain.Internal.Store

Package
purescript-grain
Repository
purescript-grain/purescript-grain

#Store Source

newtype Store

#readGrain Source

readGrain :: forall p a. Grain p a => EffectFn3 (p a) String Store a

#subscribeGrain Source

subscribeGrain :: forall p a. Grain p a => EffectFn4 (p a) String (Effect Unit) Store Unit

#unsubscribeGrain Source

unsubscribeGrain :: forall p a. Grain p a => EffectFn4 (p a) String (Effect Unit) Store Unit

#updateGrain Source

updateGrain :: forall p a. Grain p a => EffectFn4 (p a) String (a -> a) Store Unit