object Backpressure
- Companion:
- class
Value members
Concrete methods
def apply[F[_]](strategy: Strategy, bound: Int)(implicit GC: GenConcurrent[F, _]): F[Backpressure[F]]
Creates an instance of Backpressure that can be used to rate limit effects
Creates an instance of Backpressure that can be used to rate limit effects
- Value parameters:
- bound
depth of the queue that the backpressure instance should manage
- strategy
strategy to apply for this backpressure instance
- Returns:
a Backpressure instance