package reactivestreams
Type Members
-
trait
Processor[T, R] extends Subscriber[T] with Publisher[R]
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.
-
trait
Publisher[T] extends Any
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. -
trait
Subscriber[T] extends AnyRef
Mirrors the
Subscriber
interface 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
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).