Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data RequestCache
- cacheReq :: Request resp -> resp -> RequestCache -> RequestCache
- lookupReq :: forall resp. Request resp -> RequestCache -> Maybe resp
- emptyRequestCache :: RequestCache
- clearMovableRequests :: RequestCache -> RequestCache
- putCache :: RequestCache -> Put
- getCache :: Get RequestCache
Documentation
data RequestCache Source #
Instances
Binary RequestCache Source # | |
Defined in GHC.Debug.Client.RequestCache |
cacheReq :: Request resp -> resp -> RequestCache -> RequestCache Source #
clearMovableRequests :: RequestCache -> RequestCache Source #
Clear the part of the cache which will become invalid after pausing For example, we need to clear blocks, but can keep the info table caches.
putCache :: RequestCache -> Put Source #