cats.effect.std.Backpressure$
See theBackpressure companion trait
object Backpressure
Attributes
- Companion
- trait
- Source
- Backpressure.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Backpressure.type
Members list
Type members
Classlikes
object Strategy
Attributes
- Companion
- trait
- Source
- Backpressure.scala
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
Strategy.type
Attributes
- Companion
- object
- Source
- Backpressure.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
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
Attributes
- Returns
-
a Backpressure instance
- Source
- Backpressure.scala
In this article