Request the publisher to start emitting data.
Request the publisher to start emitting data.
This is a factory method and can be called multiple times, each time starting a new Subscription. Each Subscription will work for only a single Subscriber. A Subscriber should only subscribe once to a single Publisher.
If the Publisher rejects the subscription attempt or otherwise fails it will signal the error via Subscriber.onError.
the Subscriber that will consume signals from this Publisher
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.