Package

scalaz.stream.async

mutable

Permalink

package mutable

Visibility
  1. Public
  2. All

Type Members

  1. trait Queue[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 Signal[A] extends immutable.Signal[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 this value.

  3. trait Topic[A] extends AnyRef

    Permalink

    Represents topic, that asynchronously exchanges messages between one or more publisher(s) and one or more subscriber(s).

    Represents topic, that asynchronously exchanges messages between one or more publisher(s) and one or more subscriber(s).

    Guarantees: - Order of messages from publisher is guaranteed to be preserved to all subscribers - Messages from publishers may interleave in non deterministic order before they are read by subscribers - Once the subscriber is run it will receive all messages from all publishers starting with very first message arrived AFTER the subscriber was run

    Please note that topic is active even when there are no publishers or subscribers attached to it. However once the close or fail is called all the publishers and subscribers will terminate or fail.

    Once topic if closed or failed, all new publish or subscribe attempts will fail with reason that was used to close or fail the topic.

  4. trait WriterTopic[W, I, O] extends AnyRef

    Permalink

    Like a Topic, but allows to specify Writer1 to eventually write the state W or produce O from arriving messages of I to this topic

Value Members

  1. object Signal

    Permalink

Ungrouped