Backpressure

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

Attributes

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

Members list

Concise view

Type members

Classlikes

object Strategy

Attributes

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

Attributes

Companion:
object
Source:
Backpressure.scala
Graph
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

Attributes

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