Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Conf a
- newConf :: Conf a
- setMeasure :: Measure a -> Conf a -> Conf a
- setInterval :: Double -> Conf a -> Conf a
- setMaxThroughput :: Double -> Conf a -> Conf a
- setBufferSize :: Int -> Conf a -> Conf a
- setEmaAlpha :: Double -> Conf a -> Conf a
- throttleProducer :: (MonadUnliftIO m, MonadResource m) => Conf a -> Producer m a -> Producer m a
Documentation
setEmaAlpha :: Double -> Conf a -> Conf a Source #
Set exponential weight factor used for computing current item size.
throttleProducer :: (MonadUnliftIO m, MonadResource m) => Conf a -> Producer m a -> Producer m a Source #