Packages

p

fs2

concurrent

package concurrent

Provides several concurrency primitives. *

Source
concurrent.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. concurrent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait Channel[F[_], A] extends AnyRef

    Stream aware, multiple producer, single consumer closeable channel.

  2. trait Signal[F[_], A] extends AnyRef

    Pure holder of a single value of type A that can be read in the effect F.

  3. trait SignallingMapRef[F[_], K, V] extends MapRef[F, K, V]

    A MapRef with a SignallingRef for each key.

  4. abstract class SignallingRef[F[_], A] extends Ref[F, A] with Signal[F, A]

    Pure holder of a single value of type A that can be both read and updated in the effect F.

    Pure holder of a single value of type A that can be both read and updated in the effect F.

    The update methods have the same semantics as Ref, as well as propagating changes to discrete (with a last-update-wins policy in case of very fast updates).

    The access method differs slightly from Ref in that the update function, in the presence of discrete, can return false and need looping even without any other writers.

  5. abstract class Topic[F[_], A] extends AnyRef

    Topic allows you to distribute As published by an arbitrary number of publishers to an arbitrary number of subscribers.

    Topic allows you to distribute As published by an arbitrary number of publishers to an arbitrary number of subscribers.

    Topic has built-in back-pressure support implemented as the maximum number of elements (maxQueued) that a subscriber is allowed to enqueue.

    Once that bound is hit, any publishing action will semantically block until the lagging subscriber consumes some of its queued elements.

Value Members

  1. object Channel
  2. object Signal extends SignalInstances
  3. object SignallingMapRef
  4. object SignallingRef extends Serializable
  5. object Topic

Inherited from AnyRef

Inherited from Any

Ungrouped