object Backpressure
- Companion:
- class
- Source:
- Backpressure.scala
Type members
Classlikes
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
- Source:
- Backpressure.scala