Module
Paxl.RequestStore
- Package
- purescript-paxl
- Repository
- jqyu/purescript-paxl
#BlockedFetch Source
newtype BlockedFetch req a
Constructors
BlockedFetch { blockedVar :: AVar (Result a), request :: req a }
Instances
Newtype (BlockedFetch req a) _
#RequestStore Source
newtype RequestStore req a
#new Source
new :: forall a eff req. Eff (GenPaxlEffects req eff) (RequestStore req a)
#peek Source
peek :: forall a eff req. RequestStore req a -> Key -> Eff (GenPaxlEffects req eff) (CacheResult a)
#poke Source
poke :: forall a eff req. RequestStore req a -> Key -> BlockedFetch req a -> Eff (GenPaxlEffects req eff) Unit
#delete Source
delete :: forall a eff req. RequestStore req a -> Key -> Eff (GenPaxlEffects req eff) Unit