Class Publishers.JustPublisher<T>
- java.lang.Object
-
- io.micronaut.core.async.publisher.Publishers.JustPublisher<T>
-
- Type Parameters:
T
- The type
- All Implemented Interfaces:
Publishers.MicronautPublisher<T>
,org.reactivestreams.Publisher<T>
- Enclosing class:
- Publishers
@Internal public static class Publishers.JustPublisher<T> extends java.lang.Object implements Publishers.MicronautPublisher<T>
A publisher for a value.
-
-
Constructor Summary
Constructors Constructor Description JustPublisher(T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(org.reactivestreams.Subscriber<? super T> subscriber)
-