Module

Grain.Internal.Store

#Store

newtype Store

#createStore

#readGrain

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

#subscribeGrain

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

#unsubscribeGrain

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

#updateGrain

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

Modules