Package

fs2.async

mutable

Permalink

package mutable

Visibility
  1. Public
  2. All

Type Members

  1. trait Queue[F[_], A] extends AnyRef

    Permalink

    Asynchronous queue interface.

    Asynchronous queue interface. Operations are all nonblocking in their implementations, but may be 'semantically' blocking. For instance, a queue may have a bound on its size, in which case enqueuing may block until there is an offsetting dequeue.

  2. trait Semaphore[F[_]] extends AnyRef

    Permalink

    An asynchronous semaphore, useful as a concurrency primitive.

  3. trait Signal[F[_], A] extends immutable.Signal[F, A]

    Permalink

    A signal whose value may be set asynchronously.

    A signal whose value may be set asynchronously. Provides continuous and discrete streams for responding to changes to it's value.

  4. trait Topic[F[_], A] extends AnyRef

    Permalink

    Asynchronous Topic.

    Asynchronous Topic.

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

    Topic has built-in back-pressure support implemented as maximum bound (maxQueued) that a subscriber is allowed to enqueue. Once that bound is hit, publishing may semantically block until the lagging subscriber consumes some of its queued elements.

    Additionally the subscriber has possibility to terminate whenever size of enqueued elements is over certain size by using subscribeSize.

Value Members

  1. object Queue

    Permalink
  2. object Semaphore

    Permalink
  3. object Signal

    Permalink
  4. object Topic

    Permalink

Ungrouped