Class NoopSubscription
- java.lang.Object
-
- software.amazon.awssdk.core.internal.util.NoopSubscription
-
- All Implemented Interfaces:
org.reactivestreams.Subscription
public final class NoopSubscription extends Object implements org.reactivestreams.Subscription
An implementation ofSubscription
that does nothing.Useful in situations where a
Publisher
needs to signalexceptionOccurred
oronComplete
immediately aftersubscribe()
but but it needs to signalonSubscription
first.
-
-
Constructor Summary
Constructors Constructor Description NoopSubscription(org.reactivestreams.Subscriber<?> subscriber)
-