Class DefaultSubscriberWithCompletionStage<T,R>

java.lang.Object
io.smallrye.mutiny.streams.utils.DefaultSubscriberWithCompletionStage<T,R>
All Implemented Interfaces:
org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,R>

public class DefaultSubscriberWithCompletionStage<T,R> extends Object implements org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,R>
  • Constructor Details

    • DefaultSubscriberWithCompletionStage

      public DefaultSubscriberWithCompletionStage(org.reactivestreams.Processor<T,T> processor, CompletionStage<R> result)
  • Method Details

    • getCompletion

      public CompletionStage<R> getCompletion()
      Specified by:
      getCompletion in interface org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,R>
    • getSubscriber

      public org.reactivestreams.Subscriber<T> getSubscriber()
      Specified by:
      getSubscriber in interface org.eclipse.microprofile.reactive.streams.operators.spi.SubscriberWithCompletionStage<T,R>