final classSingleAssignmentSubscription extends Subscription
Represents a org.reactivestreams.Subscription that can be assigned
only once to another subscription reference.
If the assignment happens after this subscription has been canceled, then on
assignment the reference will get canceled too. If the assignment
after request(n) has been called on this subscription, then
request(n) will get called immediately on the assigned reference as well.
Useful in case you need a thread-safe forward reference.
Represents a
org.reactivestreams.Subscription
that can be assigned only once to another subscription reference.If the assignment happens after this subscription has been canceled, then on assignment the reference will get canceled too. If the assignment after
request(n)
has been called on this subscription, thenrequest(n)
will get called immediately on the assigned reference as well.Useful in case you need a thread-safe forward reference.