final classSubscriberAsReactiveSubscriber[T] extends org.reactivestreams.Subscriber[T]
Wraps a Observer instance into an
org.reactivestreams.Subscriber instance. The resulting
subscriber respects the Reactive Streams
contract.
Given that when emitting Observer.onNext calls,
the call may pass asynchronous boundaries, the emitted events need to be buffered.
The requestCount constructor parameter also represents the buffer size.
Wraps a Observer instance into an
org.reactivestreams.Subscriberinstance. The resulting subscriber respects the Reactive Streams contract.Given that when emitting Observer.onNext calls, the call may pass asynchronous boundaries, the emitted events need to be buffered. The
requestCountconstructor parameter also represents the buffer size.To create an instance, SubscriberAsReactiveSubscriber must be used: