mirror of
https://github.com/facebook/Haxl.git
synced 2024-12-24 17:23:03 +03:00
6 lines
219 B
Plaintext
6 lines
219 B
Plaintext
loadCache :: GenHaxl u ()
|
|
loadCache = do
|
|
cacheRequest (CountAardvarks "yyy") (except (LogicError (NotFound "yyy")))
|
|
cacheRequest (CountAardvarks "xxx") (Right (3))
|
|
cacheRequest (ListWombats 100) (Right ([1,2,3]))
|