Backpressure

cats.effect.std.Backpressure$
See theBackpressure companion trait
object Backpressure

Attributes

Companion
trait
Source
Backpressure.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object Strategy

Attributes

Companion
trait
Source
Backpressure.scala
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Strategy.type
sealed trait Strategy

Attributes

Companion
object
Source
Backpressure.scala
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Lossless.type
object Lossy.type

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