hs-abci-sdk-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

Tendermint.SDK.BaseApp.CoreEff

Contents

Synopsis

Documentation

type CoreEffs = '[MergeScopes, Reader LogConfig, Reader (Maybe PrometheusEnv), Reader AuthTreeState, Embed IO] Source #

CoreEffs is one level below BaseAppEffs, and provides one possible | interpretation for its effects to IO.

runCoreEffs :: Context -> forall a. Sem CoreEffs a -> IO a Source #

The standard interpeter for CoreEffs.

Orphan instances

(Members CoreEffs r, AuthTreeGetter s) => ResolveScope (s :: ConnectionScope) r Source # 
Instance details

Methods

resolveScope :: Sem (Tagged s RawStore ': r) a -> Sem r a Source #

Members CoreEffs r => Katip (Sem r) Source # 
Instance details

Methods

getLogEnv :: Sem r LogEnv

localLogEnv :: (LogEnv -> LogEnv) -> Sem r a -> Sem r a

Members CoreEffs r => KatipContext (Sem r) Source # 
Instance details

Methods

getKatipContext :: Sem r LogContexts

localKatipContext :: (LogContexts -> LogContexts) -> Sem r a -> Sem r a

getKatipNamespace :: Sem r Namespace

localKatipNamespace :: (Namespace -> Namespace) -> Sem r a -> Sem r a