unliftio-pool 0.4.1.0 → 0.4.2.0
raw patch · 2 files changed
+5/−1 lines, 2 files
Files
- src/UnliftIO/Pool.hs +4/−0
- unliftio-pool.cabal +1/−1
src/UnliftIO/Pool.hs view
@@ -4,6 +4,7 @@ , P.setNumStripes , LocalPool , mkDefaultPoolConfig+ , newPool , withResource , takeResource , tryWithResource@@ -26,6 +27,9 @@ withRunInIO $ \io -> pure $ P.defaultPoolConfig (io create) (io . destroy) keepAlive maxOpen +-- | Lifted version of 'P.newPool'+--+-- @since 0.4.2.0 newPool :: MonadUnliftIO m => PoolConfig a -> m (Pool a) newPool config = withRunInIO $ \io ->
unliftio-pool.cabal view
@@ -1,5 +1,5 @@ name: unliftio-pool-version: 0.4.1.0+version: 0.4.2.0 synopsis: Data.Pool generalized to MonadUnliftIO. description: This is a generalization of Data.Pool to MonadUnliftIO. license: BSD3