Package

org

reactivestreams

Permalink

package reactivestreams

Visibility
  1. Public
  2. All

Type Members

  1. trait Processor[T, R] extends Subscriber[T] with Publisher[R]

    Permalink

    Mirrors the Subject interface from the Reactive Streams project.

    Mirrors the Subject interface from the Reactive Streams project.

    A Subject represents a processing stage—which is both a Subscriber and a Publisher and obeys the contracts of both.

  2. trait Publisher[T] extends Any

    Permalink

    Mirrors the Publisher interface from the Reactive Streams project.

    Mirrors the Publisher interface from the Reactive Streams project.

    A Publisher is a provider of a potentially unbounded number of sequenced elements, publishing them according to the demand received from its Subscribers.

    A Publisher can serve multiple Subscribers subscribed dynamically at various points in time.

  3. trait Subscriber[T] extends AnyRef

    Permalink

    Mirrors the Subscriber interface from the Reactive Streams project.

  4. trait Subscription extends AnyRef

    Permalink

    Represents a one-to-one lifecycle of a Subscriber subscribing to a Publisher and mirrors the Subscription interface from the Reactive Streams specification.

    Represents a one-to-one lifecycle of a Subscriber subscribing to a Publisher and mirrors the Subscription interface from the Reactive Streams specification.

    It can be used only once by a single Subscriber. It is used for both signaling demand for data and for canceling demand (and allow resource cleanup).

Ungrouped