Package

fs2.async

mutable

Permalink

package mutable

Provides types which allow asynchronous reading and writing.

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

Type Members

  1. abstract class 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. abstract class Signal[F[_], A] extends immutable.Signal[F, A]

    Permalink

    Data type of a single value of type A that can be read and written in the effect F.

  3. abstract class 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 Signal

    Permalink
  3. object Topic

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped