Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Documentation
data ResourcePool a Source #
data BackendResource Source #
Instances
Eq BackendResource Source # | |
Defined in Testlib.Types (==) :: BackendResource -> BackendResource -> Bool # (/=) :: BackendResource -> BackendResource -> Bool # | |
Ord BackendResource Source # | |
Defined in Testlib.Types compare :: BackendResource -> BackendResource -> Ordering # (<) :: BackendResource -> BackendResource -> Bool # (<=) :: BackendResource -> BackendResource -> Bool # (>) :: BackendResource -> BackendResource -> Bool # (>=) :: BackendResource -> BackendResource -> Bool # max :: BackendResource -> BackendResource -> BackendResource # min :: BackendResource -> BackendResource -> BackendResource # |
data DynamicBackendConfig Source #
Instances
createBackendResourcePool :: [BackendResource] -> RabbitMQConfig -> ClientState -> IO (ResourcePool BackendResource) Source #
acquireResources :: forall m a. (Ord a, MonadIO m, MonadMask m, HasCallStack) => Int -> ResourcePool a -> Codensity m [a] Source #