Class CompletableFuturePublisher<T>

java.lang.Object
com.oracle.coherence.spring.messaging.CompletableFuturePublisher<T>
Type Parameters:
T - the type
All Implemented Interfaces:
org.reactivestreams.Publisher<T>

public class CompletableFuturePublisher<T> extends Object implements org.reactivestreams.Publisher<T>
Adapts a CompletableFuture to a Publisher.
Since:
3.0
Author:
Graeme Rocher
  • Method Details

    • subscribe

      public final void subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
      Specified by:
      subscribe in interface org.reactivestreams.Publisher<T>