package concurrent
- Alphabetic
- By Inheritance
- concurrent
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
sealed
trait
Channel[F[_], A] extends AnyRef
Stream aware, multiple producer, single consumer closeable channel.
-
trait
Signal[F[_], A] extends AnyRef
Pure holder of a single value of type
Athat can be read in the effectF. -
abstract
class
SignallingRef[F[_], A] extends Ref[F, A] with Signal[F, A]
Pure holder of a single value of type
Athat can be both read and updated in the effectF.Pure holder of a single value of type
Athat can be both read and updated in the effectF.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
accessmethod differs slightly fromRefin that the update function, in the presence ofdiscrete, can returnfalseand need looping even without any other writers. -
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.