package reactivestreams
Type Members
- trait Processor[T, R] extends Subscriber[T] with Publisher[R]
Mirrors the
Subjectinterface from the Reactive Streams project.Mirrors the
Subjectinterface 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.
- trait Publisher[T] extends Any
Mirrors the
Publisherinterface from the Reactive Streams project.Mirrors the
Publisherinterface from the Reactive Streams project.A
Publisheris a provider of a potentially unbounded number of sequenced elements, publishing them according to the demand received from its Subscribers.A
Publishercan serve multiple Subscribers subscribed dynamically at various points in time. - trait Subscriber[T] extends AnyRef
Mirrors the
Subscriberinterface from the Reactive Streams project. - trait Subscription extends AnyRef
Represents a one-to-one lifecycle of a Subscriber subscribing to a Publisher and mirrors the
Subscriptioninterface from the Reactive Streams specification.Represents a one-to-one lifecycle of a Subscriber subscribing to a Publisher and mirrors the
Subscriptioninterface 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).