Backpressure

Companion:
class
Source:
Backpressure.scala
class Object
trait Matchable
class Any

Type members

Classlikes

object Strategy
Companion:
class
Source:
Backpressure.scala
sealed trait Strategy
Companion:
object
Source:
Backpressure.scala

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