Core module for Gore&Ash engine that embeds async IO actions into game loop. https://github.com/TeaspotStudio/gore-and-ash-async#readme
|Latest on Hackage:||188.8.131.52|
This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.
The module provides API for embedding concurrent IO actions into main game loop for Gore&Ash engine.
Add following to your
- location: git: https://github.com/Teaspot-Studio/gore-and-ash-async.git commit: <PLACE HERE FULL HASH OF LAST COMMIT>
When defining you application stack, add
type AppStack = ModuleStack [AsyncT, ... other modules ... ] IO
MonadAsync for your resulting
newtype AppMonad a = AppMonad (AppStack a) deriving (Functor, Applicative, Monad, MonadFix, MonadIO, MonadThrow, MonadCatch, MonadAsync)
- Add changelog and update stack.yaml, add
extra-source-filesto cabal file.