Module
React.Basic.Hooks.Suspense.Store
- Package
- purescript-react-basic-hooks
- Repository
- megamaddu/purescript-react-basic-hooks
#mkSuspenseStore Source
mkSuspenseStore :: forall k v. Ord k => Maybe Milliseconds -> (k -> Aff v) -> Effect (SuspenseStore k v)
Simple key-based cache.
#SuspenseStore Source
newtype SuspenseStore k v
#get Source
get :: forall k v. SuspenseStore k v -> k -> Suspended v
#get' Source
get' :: forall k v. SuspenseStore k v -> Milliseconds -> k -> Suspended v