Safe Haskell | None |
---|---|
Language | Haskell2010 |
Handle-pattern API.
Documentation
with :: Int -> NominalDiffTime -> Settings -> (forall s. Handle s -> IO a) -> IO a Source
Given the pool-size, timeout and connection settings executes an IO function on a temporary handle, releasing it automatically afterwards.
Usage
type Error = Either ConnectionError Error Source
Error of executing a session on a connection from the pool.