Backpressure

object Backpressure
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

sealed trait Strategy
Companion
object
object Strategy
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 Params
bound

depth of the queue that the backpressure instance should manage

strategy

strategy to apply for this backpressure instance

Returns

a Backpressure instance