Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
data DbConnectionPool :: Effect where Source #
Acquire :: ConnectionTag -> DbConnectionPool m Connection | |
Free :: ConnectionTag -> DbConnectionPool m () | |
Release :: ConnectionTag -> DbConnectionPool m () | |
Use :: ConnectionTag -> m a -> DbConnectionPool m a | |
Kill :: ConnectionTag -> DbConnectionPool m () | |
UnsafeGet :: ConnectionTag -> DbConnectionPool m (Maybe Connection) | |
Config :: DbConnectionPool m DbConfig |
unsafeGet :: forall r. Member DbConnectionPool r => ConnectionTag -> Sem r (Maybe Connection) Source #
kill :: forall r. Member DbConnectionPool r => ConnectionTag -> Sem r () Source #
use :: forall r a. Member DbConnectionPool r => ConnectionTag -> Sem r a -> Sem r a Source #
release :: forall r. Member DbConnectionPool r => ConnectionTag -> Sem r () Source #
free :: forall r. Member DbConnectionPool r => ConnectionTag -> Sem r () Source #
acquire :: forall r. Member DbConnectionPool r => ConnectionTag -> Sem r Connection Source #