fs2.concurrent

Provides several concurrency primitives. *

Attributes

Members list

Concise view

Type members

Classlikes

sealed trait Channel[F[_], A]

Stream aware, multiple producer, single consumer closeable channel.

Stream aware, multiple producer, single consumer closeable channel.

Attributes

Companion:
object
Source:
Channel.scala
Graph
Supertypes
class Object
trait Matchable
class Any
object Channel

Attributes

Companion:
trait
Source:
Channel.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Channel.type
trait Signal[F[_], A]

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

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

Attributes

Companion:
object
Source:
Signal.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class SignallingRef[F, A]
Self type
Signal[F, A]
object Signal

Attributes

Companion:
trait
Source:
Signal.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Signal.type
trait SignallingMapRef[F[_], K, V] extends MapRef[F, K, V]

A MapRef with a SignallingRef for each key.

A MapRef with a SignallingRef for each key.

Attributes

Companion:
object
Source:
Signal.scala
Graph
Supertypes
trait MapRef[F, K, V]
trait K => Ref[F, V]
class Object
trait Matchable
class Any

Attributes

Companion:
trait
Source:
Signal.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
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.

Attributes

Companion:
object
Source:
Signal.scala
Graph
Supertypes
trait Signal[F, A]
class Ref[F, A]
trait RefSink[F, A]
trait RefSource[F, A]
trait Serializable
class Object
trait Matchable
class Any

Attributes

Companion:
class
Source:
Signal.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
abstract class Topic[F[_], A]

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.

Attributes

Companion:
object
Source:
Topic.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Topic[F, A]
object Topic

Attributes

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