Class EmptySubscription
- java.lang.Object
-
- software.amazon.awssdk.core.pagination.async.EmptySubscription
-
- All Implemented Interfaces:
org.reactivestreams.Subscription
public final class EmptySubscription extends Object implements org.reactivestreams.Subscription
A NoOp implementation ofSubscription
interface. This subscription callsSubscriber.onComplete()
on first request for data and then terminates the subscription.
-
-
Constructor Summary
Constructors Constructor Description EmptySubscription(org.reactivestreams.Subscriber subscriber)
-