Control.Concurrent.Throttled
Description
A utility module which lets you put a concurrency limit to an IO action.
data Throttle Source #
newThrottle :: MonadIO m => Int -> m Throttle Source #
throttled :: Throttle -> forall m a. (MonadIO m, MonadMask m) => m a -> m a Source #