Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- runBeamStoreAction :: forall a b. (ToJSON a, FromJSON a, HasDefinitions a, Typeable a) => DBConnection -> Trace IO (PABLogMsg (Builtin a)) -> Eff '[ContractStore (Builtin a), LogMsg (PABMultiAgentMsg (Builtin a)), DelayEffect, IO] b -> IO (Either PABError b)
Documentation
runBeamStoreAction :: forall a b. (ToJSON a, FromJSON a, HasDefinitions a, Typeable a) => DBConnection -> Trace IO (PABLogMsg (Builtin a)) -> Eff '[ContractStore (Builtin a), LogMsg (PABMultiAgentMsg (Builtin a)), DelayEffect, IO] b -> IO (Either PABError b) Source #
Run the ContractStore and ContractDefinitionStore effects on the configured database.