Module

Paxl.Fetch

Package
purescript-paxl
Repository
jqyu/purescript-paxl

#Fetchable Source

class Fetchable req env eff | req -> env, req -> eff where

Members

Instances

#FetchableRows Source

class FetchableRows flist (frow :: # Type) erow prow (eff :: # Effect) | flist -> frow, flist -> erow, flist -> prow, flist -> eff where

Members

Instances

#Fetch Source

data Fetch (fetches :: # Type) (a :: Type)

Instances

#Req Source

data Req (req :: Type -> Type)

#request Source

request :: forall sym req a r1 r2. RowCons sym (Req req) r1 r2 => IsSymbol sym => SProxy sym -> req a -> GenPaxl (Fetch r2) a

#requestCached Source

requestCached :: forall sym req a r1 r2. RowCons sym (Req req) r1 r2 => IsSymbol sym => Cacheable req => SProxy sym -> req a -> GenPaxl (Fetch r2) a

#completeBlockedFetch Source

completeBlockedFetch :: forall req eff a. BlockedFetch req a -> Result a -> Aff eff Unit

#completeBlockedFetchOf Source

completeBlockedFetchOf :: forall req eff a b. (a ~ b) -> BlockedFetch req a -> Result b -> Aff eff Unit

Re-exports from Paxl.RequestStore

#Result Source

data Result a

Constructors

Instances

#Key Source

newtype Key

Constructors

#BlockedFetch Source

newtype BlockedFetch req a

Constructors

Instances

#Cacheable Source

class Cacheable req  where

Members