Package io.reactivex.rxjava4.processors
package io.reactivex.rxjava4.processors
Classes representing so-called hot backpressure-aware sources, aka processors,
that implement the
FlowableProcessor class,
the Reactive Streams Processor interface
to allow forms of multicasting events to one or more subscribers as well as consuming another
Reactive Streams Publisher.
Available processor implementations:
AsyncProcessor- replays the very last itemBehaviorProcessor- remembers the latest itemMulticastProcessor- coordinates its source with its consumersPublishProcessor- dispatches items to current consumersReplayProcessor- remembers some or all items and replays them to consumersUnicastProcessor- remembers or relays items to a single consumer
The non-backpressured variants of the FlowableProcessor class are called
Subjects and reside in the io.reactivex.subjects package.
- See Also:
-
ClassesClassDescriptionProcessor that emits the very last value followed by a completion event or the received error to
Flow.Subscribers.Processor that emits the most recent item it has observed and all subsequent observed items to each subscribedFlow.Subscriber.Represents a Subscriber and a Flowable (Publisher) at the same time, allowing multicasting events from a single source to multiple child Subscribers.AFlowableProcessorimplementation that coordinates downstream requests through a front-buffer and stable-prefetching, optionally canceling the upstream if all subscribers have cancelled.Processor that multicasts all subsequently observed items to its currentFlow.Subscribers.Replays events to Subscribers.AFlowableProcessorvariant that queues up events until a singleFlow.Subscribersubscribes to it, replays those events to it until theSubscribercatches up and then switches to relaying events live to this singleSubscriberuntil thisUnicastProcessorterminates or theSubscribercancels its subscription.