Class UniCreateFromKnownItem<T>
- java.lang.Object
-
- io.smallrye.mutiny.operators.AbstractUni<T>
-
- io.smallrye.mutiny.operators.uni.builders.UniCreateFromKnownItem<T>
-
- Type Parameters:
T
- the type of the item
- All Implemented Interfaces:
Uni<T>
public class UniCreateFromKnownItem<T> extends AbstractUni<T>
SpecializedUni
implementation for the case where the item is known. The item can benull
.
-
-
Constructor Summary
Constructors Constructor Description UniCreateFromKnownItem(T item)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
subscribe(UniSubscriber<? super T> subscriber)
-
Methods inherited from class io.smallrye.mutiny.operators.AbstractUni
await, awaitUsing, cache, convert, emitOn, ifNoItem, log, log, memoize, onCancellation, onFailure, onFailure, onFailure, onItem, onItemOrFailure, onSubscribe, onSubscription, onTermination, repeat, runSubscriptionOn, subscribe, subscribe, toMulti, withContext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.smallrye.mutiny.Uni
attachContext, call, call, chain, chain, eventually, eventually, flatMap, invoke, invoke, map, plug, replaceIfNullWith, replaceIfNullWith, replaceWith, replaceWith, replaceWith, replaceWithNull, replaceWithVoid, stage, subscribeAsCompletionStage, subscribeAsCompletionStage
-
-
-
-
Constructor Detail
-
UniCreateFromKnownItem
public UniCreateFromKnownItem(T item)
-
-
Method Detail
-
subscribe
public void subscribe(UniSubscriber<? super T> subscriber)
- Specified by:
subscribe
in classAbstractUni<T>
-
-