Class CompletableFuturePublisher<T>
- java.lang.Object
-
- io.micronaut.core.async.publisher.CompletableFuturePublisher<T>
-
- Type Parameters:
T
- The type
- All Implemented Interfaces:
Publishers.MicronautPublisher<T>
,org.reactivestreams.Publisher<T>
@Internal public class CompletableFuturePublisher<T> extends java.lang.Object implements Publishers.MicronautPublisher<T>
Adapts aCompletableFuture
to aPublisher
.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
-