Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
serveChainIndexQueryServer Source #
:: Int | Port |
-> TVar ChainIndexEmulatorState | Chain index state (TODO: When the disk state is stored in a DB, replace this with DB connection info) |
-> IO () |
serveChainIndex :: forall effs. (Member (Error ServerError) effs, Member ChainIndexQueryEffect effs, Member ChainIndexControlEffect effs) => ServerT API (Eff effs) Source #