Uses of Interface
io.smallrye.mutiny.Uni
-
Packages that use Uni Package Description io.smallrye.mutiny io.smallrye.mutiny.groups io.smallrye.mutiny.helpers.spies io.smallrye.mutiny.infrastructure io.smallrye.mutiny.operators -
-
Uses of Uni in io.smallrye.mutiny
Methods in io.smallrye.mutiny that return Uni Modifier and Type Method Description default Uni<ItemWithContext<T>>Uni. attachContext()Materialize the context by attaching it to items using theItemWithContextwrapper class.default Uni<T>Uni. call(java.util.function.Function<? super T,Uni<?>> function)Produces a newUniinvoking the given @{code action} when theitemevent is received.default Uni<T>Uni. call(java.util.function.Supplier<Uni<?>> supplier)Produces a newUniinvoking the given @{code action} when theitemevent is received, but ignoring it.default <O> Uni<O>Uni. chain(java.util.function.Function<? super T,Uni<? extends O>> mapper)Once the observedUniemits an item, execute the givenmapper.default <O> Uni<O>Uni. chain(java.util.function.Supplier<Uni<? extends O>> supplier)Once the observedUniemits an item, execute the givensupplier.Uni<T>Uni. emitOn(java.util.concurrent.Executor executor)Produces a newUniinvoking theUniSubscriber.onItem(Object)andUniSubscriber.onFailure(Throwable)on the suppliedExecutor.default Uni<T>Uni. eventually(java.lang.Runnable action)Execute an action after an item or a failure has been emitted.default <O> Uni<T>Uni. eventually(java.util.function.Supplier<Uni<? extends O>> supplier)default <O> Uni<O>Uni. flatMap(java.util.function.Function<? super T,Uni<? extends O>> mapper)Transforms the received item asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.default Uni<T>Uni. invoke(java.lang.Runnable callback)Produces a newUniinvoking the given callback when theitemevent is fired, but ignoring it.default Uni<T>Uni. invoke(java.util.function.Consumer<? super T> callback)Produces a newUniinvoking the given callback when theitemevent is fired.Uni<T>Uni. log()Log events (onSubscribe, onItem, ...) as they come from the upstream or the subscriber, and derives the identifier from the upstream operator class "simple name".Uni<T>Uni. log(java.lang.String identifier)Log events (onSubscribe, onItem, ...) as they come from the upstream or the subscriber.default <O> Uni<O>Uni. map(java.util.function.Function<? super T,? extends O> mapper)Transforms the item (potentially null) emitted by thisUniby applying a (synchronous) function to it.default <R> Uni<R>Uni. plug(java.util.function.Function<Uni<T>,Uni<R>> operatorProvider)Plug a user-defined operator that does not belong to the existing Mutiny API.default Uni<T>Uni. replaceIfNullWith(java.util.function.Supplier<T> supplier)default Uni<T>Uni. replaceIfNullWith(T value)When thisUniemitsnull, replace with the provided value.default <O> Uni<O>Uni. replaceWith(Uni<O> uni)default <O> Uni<O>Uni. replaceWith(java.util.function.Supplier<O> supplier)Ignore the item emitted by thisUniand replace it with another value using aSupplier.default <O> Uni<O>Uni. replaceWith(O item)Ignore the item emitted by thisUniand replace it with another value.default Uni<T>Uni. replaceWithNull()Ignore the item emitted by thisUniand replace it withnull.default Uni<java.lang.Void>Uni. replaceWithVoid()Uni<T>Uni. runSubscriptionOn(java.util.concurrent.Executor executor)Uni<T>Multi. toUni()default <R> Uni<R>Uni. withContext(java.util.function.BiFunction<Uni<T>,Context,Uni<R>> builder)Materialize the subscriberContextfor a sub-pipeline.Methods in io.smallrye.mutiny with parameters of type Uni Modifier and Type Method Description default <O> Uni<O>Uni. replaceWith(Uni<O> uni)Method parameters in io.smallrye.mutiny with type arguments of type Uni Modifier and Type Method Description default Multi<T>Multi. call(java.util.function.Function<? super T,Uni<?>> action)Produces a newMultiinvoking the given @{code action} when anitemevent is received.default Multi<T>Multi. call(java.util.function.Supplier<Uni<?>> action)Produces a newMultiinvoking the given @{code action} when anitemevent is received, but ignoring it in the callback.default Uni<T>Uni. call(java.util.function.Function<? super T,Uni<?>> function)Produces a newUniinvoking the given @{code action} when theitemevent is received.default Uni<T>Uni. call(java.util.function.Supplier<Uni<?>> supplier)Produces a newUniinvoking the given @{code action} when theitemevent is received, but ignoring it.default <O> Uni<O>Uni. chain(java.util.function.Function<? super T,Uni<? extends O>> mapper)Once the observedUniemits an item, execute the givenmapper.default <O> Uni<O>Uni. chain(java.util.function.Supplier<Uni<? extends O>> supplier)Once the observedUniemits an item, execute the givensupplier.default <O> Uni<T>Uni. eventually(java.util.function.Supplier<Uni<? extends O>> supplier)default <O> Uni<O>Uni. flatMap(java.util.function.Function<? super T,Uni<? extends O>> mapper)Transforms the received item asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.default <R> Uni<R>Uni. plug(java.util.function.Function<Uni<T>,Uni<R>> operatorProvider)Plug a user-defined operator that does not belong to the existing Mutiny API.default <R> Uni<R>Uni. plug(java.util.function.Function<Uni<T>,Uni<R>> operatorProvider)Plug a user-defined operator that does not belong to the existing Mutiny API.default <O> OUni. stage(java.util.function.Function<Uni<T>,O> stage)Allows structuring the pipeline by creating a logic separation:default <R> Uni<R>Uni. withContext(java.util.function.BiFunction<Uni<T>,Context,Uni<R>> builder)Materialize the subscriberContextfor a sub-pipeline.default <R> Uni<R>Uni. withContext(java.util.function.BiFunction<Uni<T>,Context,Uni<R>> builder)Materialize the subscriberContextfor a sub-pipeline. -
Uses of Uni in io.smallrye.mutiny.groups
Methods in io.smallrye.mutiny.groups that return Uni Modifier and Type Method Description Uni<java.util.List<T>>UniJoin.JoinAllStrategy. andCollectFailures()Wait for allUnireferences to terminate, and collect all failures in aCompositeException.Uni<java.util.List<T>>UniJoin.JoinAllStrategyTerminal. andCollectFailures()Wait for allUnireferences to terminate, and collect all failures in aCompositeException.Uni<T>UniOnItemIgnore. andContinueWith(java.util.function.Supplier<? extends T> supplier)Ignores the item fired by the currentUni, and continue with the value produced by the given supplier.Uni<T>UniOnItemIgnore. andContinueWith(T fallback)Ignores the item fired by the currentUni, and continue with a default value.Uni<java.lang.Void>UniOnItemIgnore. andContinueWithNull()Ignores the item fired by the currentUni, and continue with anullitem.Uni<T>UniOnItemIgnore. andFail()LikeUniOnItemIgnore.andFail(Throwable)but using anException.Uni<T>UniOnItemIgnore. andFail(java.lang.Throwable failure)Ignores the item fired by the currentUniand fails with the passed failure.Uni<T>UniOnItemIgnore. andFail(java.util.function.Supplier<java.lang.Throwable> supplier)Ignores the item fired by the currentUni, and fails with a failure produced using the givenSupplier.Uni<java.util.List<T>>UniJoin.JoinAllStrategy. andFailFast()Uni<java.util.List<T>>UniJoin.JoinAllStrategyTerminal. andFailFast()<O> Uni<O>UniOnItemIgnore. andSwitchTo(Uni<? extends O> other)<O> Uni<O>UniOnItemIgnore. andSwitchTo(java.util.function.Supplier<Uni<? extends O>> supplier)Uni<java.util.List<T>>MultiCollect. asList()<K> Uni<java.util.Map<K,T>>MultiCollect. asMap(java.util.function.Function<? super T,? extends K> keyMapper)<K,V>
Uni<java.util.Map<K,V>>MultiCollect. asMap(java.util.function.Function<? super T,? extends K> keyMapper, java.util.function.Function<? super T,? extends V> valueMapper)<K,V>
Uni<java.util.Map<K,V>>MultiCollect. asMap(java.util.function.Function<? super T,? extends K> keyMapper, java.util.function.Function<? super T,? extends V> valueMapper, java.util.function.BinaryOperator<V> mergeFunction)<K> Uni<java.util.Map<K,java.util.Collection<T>>>MultiCollect. asMultiMap(java.util.function.Function<? super T,? extends K> keyMapper)<K,V>
Uni<java.util.Map<K,java.util.Collection<V>>>MultiCollect. asMultiMap(java.util.function.Function<? super T,? extends K> keyMapper, java.util.function.Function<? super T,? extends V> valueMapper)Uni<Tuple2<T1,T2>>UniAndGroup2. asTuple()Uni<Tuple3<T1,T2,T3>>UniAndGroup3. asTuple()Uni<Tuple4<T1,T2,T3,T4>>UniAndGroup4. asTuple()Uni<Tuple5<T1,T2,T3,T4,T5>>UniAndGroup5. asTuple()Uni<Tuple6<T1,T2,T3,T4,T5,T6>>UniAndGroup6. asTuple()Uni<Tuple7<T1,T2,T3,T4,T5,T6,T7>>UniAndGroup7. asTuple()Uni<Tuple8<T1,T2,T3,T4,T5,T6,T7,T8>>UniAndGroup8. asTuple()Uni<Tuple9<T1,T2,T3,T4,T5,T6,T7,T8,T9>>UniAndGroup9. asTuple()Uni<T>UniMemoize. atLeast(java.time.Duration duration)Memoize the received item or failure for a duration after the upstream subscription has been received.Uni<T>UniRetry. atMost(long numberOfAttempts)Uni<T>UniOnItemDelay. by(java.time.Duration duration)Delays the item emission by a specific duration.Uni<T>UniOnCancel. call(java.util.function.Supplier<Uni<?>> supplier)Attaches an action executed when the subscription is cancelled.Uni<T>UniOnFailure. call(java.util.function.Function<java.lang.Throwable,Uni<?>> action)Uni<T>UniOnFailure. call(java.util.function.Supplier<Uni<?>> supplier)Uni<T>UniOnItem. call(java.util.function.Function<? super T,Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received.Uni<T>UniOnItem. call(java.util.function.Supplier<Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received, ignoring it.Uni<T>UniOnItemOrFailure. call(java.util.function.BiFunction<? super T,java.lang.Throwable,Uni<?>> callback)Uni<T>UniOnItemOrFailure. call(java.util.function.Supplier<Uni<?>> callback)Uni<T>UniOnNotNull. call(java.util.function.Function<? super T,Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received.Uni<T>UniOnNotNull. call(java.util.function.Supplier<Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received.Uni<T>UniOnSubscribe. call(java.util.function.Function<? super UniSubscription,Uni<?>> action)Produces a newUniinvoking the given @{code action} when thesubscriptionevent is received.Uni<T>UniOnSubscribe. call(java.util.function.Supplier<Uni<?>> action)Produces a newUniinvoking the given @{code action} when thesubscriptionevent is received.Uni<T>UniOnTerminate. call(Functions.Function3<? super T,java.lang.Throwable,java.lang.Boolean,Uni<?>> mapper)Attaches an action that is executed when theUniemits an item or a failure or when the subscriber cancels the subscription.Uni<T>UniOnTerminate. call(java.util.function.Supplier<Uni<?>> supplier)Attaches an action that is executed when theUniemits an item or a failure or when the subscriber cancels the subscription.<O> Uni<O>UniOnItem. castTo(java.lang.Class<O> target)Produces anUniemitting an item based on the upstream item but casted to the target class.<O> Uni<O>UniAndGroup2. combinedWith(java.util.function.BiFunction<T1,T2,O> combinator)Creates the resultingUni.<O> Uni<O>UniAndGroup3. combinedWith(Functions.Function3<T1,T2,T3,O> combinator)<O> Uni<O>UniAndGroup4. combinedWith(Functions.Function4<T1,T2,T3,T4,O> combinator)<O> Uni<O>UniAndGroup5. combinedWith(Functions.Function5<T1,T2,T3,T4,T5,O> combinator)<O> Uni<O>UniAndGroup6. combinedWith(Functions.Function6<T1,T2,T3,T4,T5,T6,O> combinator)<O> Uni<O>UniAndGroup7. combinedWith(Functions.Function7<T1,T2,T3,T4,T5,T6,T7,O> combinator)<O> Uni<O>UniAndGroup8. combinedWith(Functions.Function8<T1,T2,T3,T4,T5,T6,T7,T8,O> combinator)<O> Uni<O>UniAndGroup9. combinedWith(Functions.Function9<T1,T2,T3,T4,T5,T6,T7,T8,T9,O> combinator)<O,I>
Uni<O>UniAndGroupIterable. combinedWith(java.lang.Class<I> superType, java.util.function.Function<java.util.List<I>,O> function)<O> Uni<O>UniAndGroupIterable. combinedWith(java.util.function.Function<java.util.List<?>,O> function)<T> Uni<T>UniCreate. completionStage(java.util.concurrent.CompletionStage<? extends T> stage)<T> Uni<T>UniCreate. completionStage(java.util.function.Supplier<? extends java.util.concurrent.CompletionStage<? extends T>> supplier)<T,S>
Uni<T>UniCreate. completionStage(java.util.function.Supplier<S> stateSupplier, java.util.function.Function<S,? extends java.util.concurrent.CompletionStage<? extends T>> mapper)<T> Uni<T>UniCreate. context(java.util.function.Function<Context,Uni<? extends T>> mapper)Uni<T>UniOnNull. continueWith(java.util.function.Supplier<? extends T> supplier)Provides a default item if the currentUnifiresnullas item.Uni<T>UniOnNull. continueWith(T fallback)Provides a default item if the currentUnifiresnullas item.<I,T>
Uni<T>UniCreate. converter(io.smallrye.mutiny.converters.UniConverter<I,T> converter, I instance)Creates a newUnifrom the passed instance with the passed converter.<T> Uni<T>UniCreate. deferred(java.util.function.Supplier<Uni<? extends T>> supplier)<T,S>
Uni<T>UniCreate. deferred(java.util.function.Supplier<S> stateSupplier, java.util.function.Function<S,Uni<? extends T>> mapper)Uni<java.lang.Void>UniAndGroupIterable. discardItems()<T> Uni<T>UniCreate. emitter(java.util.function.Consumer<UniEmitter<? super T>> consumer)Creates aUnideferring the logic to the given consumer.<T,S>
Uni<T>UniCreate. emitter(java.util.function.Supplier<S> stateSupplier, java.util.function.BiConsumer<S,UniEmitter<? super T>> consumer)Creates aUnideferring the logic to the given consumer.Uni<T>UniRetry. expireAt(long expireAt)Uni<T>UniRetry. expireIn(long expireIn)Uni<T>UniOnNull. fail()LikeUniOnNull.failWith(Throwable)but using aNoSuchElementException.Uni<T>UniOnTimeout. fail()<T> Uni<T>UniCreate. failure(java.lang.Throwable failure)Creates aUnithat emits afailureevent immediately after being subscribed to.<T> Uni<T>UniCreate. failure(java.util.function.Supplier<java.lang.Throwable> supplier)Creates aUnithat emits afailureevent produced using the passed supplier immediately after being subscribed to.Uni<T>UniOnItem. failWith(java.util.function.Function<? super T,? extends java.lang.Throwable> mapper)Uni<T>UniOnItem. failWith(java.util.function.Supplier<? extends java.lang.Throwable> supplier)Uni<T>UniOnNotNull. failWith(java.lang.Throwable failure)Uni<T>UniOnNotNull. failWith(java.util.function.Supplier<? extends java.lang.Throwable> supplier)Uni<T>UniOnNull. failWith(java.lang.Throwable failure)Uni<T>UniOnNull. failWith(java.util.function.Supplier<? extends java.lang.Throwable> supplier)Uni<T>UniOnTimeout. failWith(java.lang.Throwable failure)Uni<T>UniOnTimeout. failWith(java.util.function.Supplier<? extends java.lang.Throwable> supplier)Uni<T>MultiCollect. first()<T> Uni<T>UniCreate. future(java.util.concurrent.Future<? extends T> future)Creates aUnifrom the givenFuture.<T> Uni<T>UniCreate. future(java.util.concurrent.Future<? extends T> future, java.time.Duration timeout)Creates aUnifrom the givenFuture.<T> Uni<T>UniCreate. future(java.util.function.Supplier<java.util.concurrent.Future<? extends T>> supplier)Creates aUnifrom the givenFuture.<T> Uni<T>UniCreate. future(java.util.function.Supplier<java.util.concurrent.Future<? extends T>> supplier, java.time.Duration timeout)Creates aUnifrom the givenFuture.Uni<java.lang.Void>MultiOnItem. ignoreAsUni()Ignores the passed items.<X> Uni<X>MultiCollect. in(java.util.function.Supplier<X> supplier, java.util.function.BiConsumer<X,T> accumulator)Uni<T>UniMemoize. indefinitely()Memoize the received item or failure indefinitely.Uni<T>UniRetry. indefinitely()Uni<T>UniOnCancel. invoke(java.lang.Runnable action)Attaches an action executed when the subscription is cancelled.Uni<T>UniOnFailure. invoke(java.lang.Runnable callback)Uni<T>UniOnFailure. invoke(java.util.function.Consumer<java.lang.Throwable> callback)Uni<T>UniOnItem. invoke(java.lang.Runnable callback)Produces a newUniinvoking the given callback when theitemevent is fired, ignoring its value.Uni<T>UniOnItem. invoke(java.util.function.Consumer<? super T> callback)Produces a newUniinvoking the given callback when theitemevent is fired.Uni<T>UniOnItemOrFailure. invoke(java.lang.Runnable callback)Uni<T>UniOnItemOrFailure. invoke(java.util.function.BiConsumer<? super T,java.lang.Throwable> callback)Uni<T>UniOnNotNull. invoke(java.lang.Runnable callback)Produces a newUniinvoking the given callback when theitemevent is fired.Uni<T>UniOnNotNull. invoke(java.util.function.Consumer<? super T> callback)Produces a newUniinvoking the given callback when theitemevent is fired.Uni<T>UniOnSubscribe. invoke(java.lang.Runnable callback)Produces a newUniinvoking the given callback when thesubscriptionis received.Uni<T>UniOnSubscribe. invoke(java.util.function.Consumer<? super UniSubscription> callback)Produces a newUniinvoking the given callback when thesubscriptionis received.Uni<T>UniOnTerminate. invoke(Functions.TriConsumer<T,java.lang.Throwable,java.lang.Boolean> consumer)Attaches an action that is executed when theUniemits an item or a failure or when the subscriber cancels the subscription.Uni<T>UniOnTerminate. invoke(java.lang.Runnable action)Attaches an action that is executed when theUniemits an item or a failure or when the subscriber cancels the subscription.<T> Uni<T>UniCreate. item(java.util.function.Supplier<? extends T> supplier)Creates a newUnithat completes immediately after being subscribed to with the specified (potentiallynull) value.<T,S>
Uni<T>UniCreate. item(java.util.function.Supplier<S> stateSupplier, java.util.function.Function<S,? extends T> mapper)Creates a newUnithat completes immediately after being subscribed to with the specified (potentiallynull) value.<T> Uni<T>UniCreate. item(T item)Creates a newUnithat completes immediately after being subscribed to with the specified (potentiallynull) item.Uni<T>MultiCollect. last()<T> Uni<T>UniCreate. multi(Multi<T> multi)<T> Uni<T>UniCreate. nothing()<T> Uni<T>UniCreate. nullItem()Creates a newUnithat completes with anullitem.<T> Uni<T>UniAny. of(Uni<? super T>... unis)LikeUniAny.of(Iterable)but with an array ofUnias parameter<T> Uni<T>UniAny. of(java.lang.Iterable<? extends Uni<? super T>> iterable)Creates aUniforwarding the first event (item or failure).<T> Uni<T>UniCreate. optional(java.util.function.Supplier<java.util.Optional<T>> supplier)Creates a newUnithat completes immediately after being subscribed to with the item based on the value contained in the given optional ifOptional.isPresent()ornullotherwise.<T> Uni<T>UniCreate. optional(java.util.Optional<T> optional)Creates a newUnithat completes immediately after being subscribed to with the item based on the value contained in the given optional ifOptional.isPresent()ornullotherwise.<T> Uni<T>UniCreate. publisher(org.reactivestreams.Publisher<? extends T> publisher)Creates aUnifrom the passedPublisher.Uni<T>UniOnFailure. recoverWithItem(java.util.function.Function<? super java.lang.Throwable,? extends T> function)Recovers from the received failure (matching the predicate if set) by using a item generated by the given function.Uni<T>UniOnFailure. recoverWithItem(java.util.function.Supplier<T> supplier)Recovers from the received failure (matching the predicate if set) by using a item generated by the given supplier.Uni<T>UniOnFailure. recoverWithItem(T fallback)Recovers from the received failure (matching the predicate if set) by using a fallback item.Uni<T>UniOnTimeout. recoverWithItem(java.util.function.Supplier<T> supplier)Uni<T>UniOnTimeout. recoverWithItem(T fallback)Uni<T>UniOnFailure. recoverWithNull()Recovers from the received failure by ignoring it and emitting anullitem in the resultingUni.Uni<T>UniOnFailure. recoverWithUni(Uni<? extends T> fallback)Recovers from the received failure (matching the predicate if set) with anotherUni.Uni<T>UniOnFailure. recoverWithUni(java.util.function.Function<? super java.lang.Throwable,Uni<? extends T>> function)Recovers from the received failure (matching the predicate if set) with anotherUni.Uni<T>UniOnFailure. recoverWithUni(java.util.function.Supplier<Uni<? extends T>> supplier)Recovers from the received failure (matching the predicate if set) with anotherUni.Uni<T>UniOnTimeout. recoverWithUni(Uni<? extends T> fallback)Uni<T>UniOnTimeout. recoverWithUni(java.util.function.Supplier<Uni<? extends T>> supplier)Uni<T>UniOnNull. switchTo(Uni<? extends T> other)Uni<T>UniOnNull. switchTo(java.util.function.Supplier<Uni<? extends T>> supplier)Uni<T>UniJoin.JoinFirstStrategy. toTerminate()Forward the value or failure from the firstUnito terminate.Uni<T>UniOnFailure. transform(java.util.function.Function<? super java.lang.Throwable,? extends java.lang.Throwable> mapper)<R> Uni<R>UniOnItem. transform(java.util.function.Function<? super T,? extends R> mapper)<R> Uni<R>UniOnItemOrFailure. transform(java.util.function.BiFunction<? super T,java.lang.Throwable,? extends R> mapper)<R> Uni<R>UniOnNotNull. transform(java.util.function.Function<? super T,? extends R> mapper)<R> Uni<R>UniOnItem. transformToUni(java.util.function.BiConsumer<? super T,UniEmitter<? super R>> consumer)Transforms the received item asynchronously, forwarding the events emitted by anUniEmitterprovided to the given consumer.<R> Uni<R>UniOnItem. transformToUni(java.util.function.Function<? super T,Uni<? extends R>> mapper)Transforms the received item asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.<R> Uni<R>UniOnItemOrFailure. transformToUni(Functions.TriConsumer<? super T,java.lang.Throwable,UniEmitter<? super R>> consumer)Transforms the received item or failure asynchronously, forwarding the events emitted by theUniEmitterprovided to the given consumer.<R> Uni<R>UniOnItemOrFailure. transformToUni(java.util.function.BiFunction<? super T,java.lang.Throwable,Uni<? extends R>> mapper)Transforms the received item or failure asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.<R> Uni<R>UniOnNotNull. transformToUni(java.util.function.BiConsumer<? super T,UniEmitter<? super R>> consumer)Transforms the received item asynchronously, forwarding the events emitted anUniEmitterconsumes by the given consumer.<R> Uni<R>UniOnNotNull. transformToUni(java.util.function.Function<? super T,Uni<? extends R>> mapper)Transforms the received item asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.Uni<T>UniOr. unis(Uni<T>... other)Uni<T>UniMemoize. until(java.util.function.BooleanSupplier invalidationGuard)Memoize the received item or failure as long as the provided boolean supplier evaluates tofalse.Uni<T>UniOnItemDelay. until(java.util.function.Function<? super T,Uni<?>> function)Delays the item emission until theUniproduced by the givenFunctionemits an item (potentiallynull)Uni<T>UniRetry. until(java.util.function.Predicate<? super java.lang.Throwable> predicate)Uni<java.lang.Void>UniCreate. voidItem()Creates a newUnithat completes with anullitem.Uni<T>UniRetry. when(java.util.function.Function<Multi<java.lang.Throwable>,? extends org.reactivestreams.Publisher<?>> whenStreamFactory)<X,A>
Uni<X>MultiCollect. with(java.util.stream.Collector<? super T,A,? extends X> collector)Creates aUniemitting an item with the object computed by the givenCollector.Uni<T>UniJoin.JoinFirstStrategy. withItem()Forward the value from the firstUnito terminate with a value.Uni<T>UniJoin.JoinFirstStrategyTerminal. withItem()Forward the value from the firstUnito terminate with a value.Methods in io.smallrye.mutiny.groups with parameters of type Uni Modifier and Type Method Description UniJoin.Builder<T>UniJoin.Builder. add(Uni<T> uni)Add aUni.<T> UniJoin.JoinAllStrategy<T>UniJoin. all(Uni<T>... unis)Join multipleUnireferences and emit a list of values, this is a convenience delegate method forUniJoin.all(List).<O> Uni<O>UniOnItemIgnore. andSwitchTo(Uni<? extends O> other)<T> UniJoin.JoinFirstStrategy<T>UniJoin. first(Uni<T>... unis)Join multipleUniand emit the result from the first one to emit a signal, or the first one with a value.<T> Uni<T>UniAny. of(Uni<? super T>... unis)LikeUniAny.of(Iterable)but with an array ofUnias parameterUni<T>UniOnFailure. recoverWithUni(Uni<? extends T> fallback)Recovers from the received failure (matching the predicate if set) with anotherUni.Uni<T>UniOnTimeout. recoverWithUni(Uni<? extends T> fallback)Uni<T>UniOnNull. switchTo(Uni<? extends T> other)<T> Multi<T>MultiCreate. uni(Uni<T> uni)<T2> UniAndGroup2<T1,T2>UniAndGroup. uni(Uni<? extends T2> other)Combines the currentUniwith the given one.UniAndGroupIterable<T1>UniAndGroup. unis(Uni<?>... unis)Combines the currentUniwith the given ones.<T2,T3>
UniAndGroup3<T1,T2,T3>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3)Combines the currentUniwith the given ones.<T2,T3,T4>
UniAndGroup4<T1,T2,T3,T4>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4)Combines the currentUniwith the given ones.<T2,T3,T4,T5>
UniAndGroup5<T1,T2,T3,T4,T5>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5)Combines the currentUniwith the given ones.<T2,T3,T4,T5,T6>
UniAndGroup6<T1,T2,T3,T4,T5,T6>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6)Combines the currentUniwith the given ones.<T2,T3,T4,T5,T6,T7>
UniAndGroup7<T1,T2,T3,T4,T5,T6,T7>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6, Uni<? extends T7> u7)Combines the currentUniwith the given ones.<T2,T3,T4,T5,T6,T7,T8>
UniAndGroup8<T1,T2,T3,T4,T5,T6,T7,T8>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6, Uni<? extends T7> u7, Uni<? extends T8> u8)Combines the currentUniwith the given ones.<T2,T3,T4,T5,T6,T7,T8,T9>
UniAndGroup9<T1,T2,T3,T4,T5,T6,T7,T8,T9>UniAndGroup. unis(Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6, Uni<? extends T7> u7, Uni<? extends T8> u8, Uni<? extends T9> u9)Combines the currentUniwith the given ones.Uni<T>UniOr. unis(Uni<T>... other)<O> UniAndGroupIterable<O>UniZip. unis(Uni<?>... unis)Combines severalunistogether.<T1,T2>
UniAndGroup2<T1,T2>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2)Combines twounistogether.<T1,T2,T3>
UniAndGroup3<T1,T2,T3>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3)Combines the threeunistogether.<T1,T2,T3,T4>
UniAndGroup4<T1,T2,T3,T4>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4)Combines fourunistogether.<T1,T2,T3,T4,T5>
UniAndGroup5<T1,T2,T3,T4,T5>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5)Combines fiveunistogether.<T1,T2,T3,T4,T5,T6>
UniAndGroup6<T1,T2,T3,T4,T5,T6>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6)Combines sixunistogether.<T1,T2,T3,T4,T5,T6,T7>
UniAndGroup7<T1,T2,T3,T4,T5,T6,T7>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6, Uni<? extends T7> u7)Combines 7unistogether.<T1,T2,T3,T4,T5,T6,T7,T8>
UniAndGroup8<T1,T2,T3,T4,T5,T6,T7,T8>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6, Uni<? extends T7> u7, Uni<? extends T8> u8)Combines 8unistogether.<T1,T2,T3,T4,T5,T6,T7,T8,T9>
UniAndGroup9<T1,T2,T3,T4,T5,T6,T7,T8,T9>UniZip. unis(Uni<? extends T1> u1, Uni<? extends T2> u2, Uni<? extends T3> u3, Uni<? extends T4> u4, Uni<? extends T5> u5, Uni<? extends T6> u6, Uni<? extends T7> u7, Uni<? extends T8> u8, Uni<? extends T9> u9)Combines 9unistogether.Method parameters in io.smallrye.mutiny.groups with type arguments of type Uni Modifier and Type Method Description <T> UniJoin.JoinAllStrategy<T>UniJoin. all(java.util.List<Uni<T>> unis)Join multipleUnireferences and emit a list of values.<O> Uni<O>UniOnItemIgnore. andSwitchTo(java.util.function.Supplier<Uni<? extends O>> supplier)Multi<T>MultiOnCancel. call(java.util.function.Supplier<Uni<?>> supplier)Attaches an action executed when the subscription is cancelled.Multi<T>MultiOnCompletion. call(java.util.function.Supplier<Uni<?>> supplier)Multi<T>MultiOnFailure. call(java.util.function.Function<java.lang.Throwable,Uni<?>> action)Produces a newMultiinvoking the given @{code action} when afailureevent is received.Multi<T>MultiOnFailure. call(java.util.function.Supplier<Uni<?>> action)Produces a newMultiinvoking the given @{code action} when afailureevent is received.Multi<T>MultiOnItem. call(java.util.function.Function<? super T,Uni<?>> action)Produces a newMultiinvoking the given @{code action} when anitemevent is received.Multi<T>MultiOnItem. call(java.util.function.Supplier<Uni<?>> action)Produces a newMultiinvoking the given @{code action} when anitemevent is received, but ignoring it in the callback.Multi<T>MultiOnRequest. call(java.util.function.LongFunction<Uni<?>> mapper)Action when items are being requested.Multi<T>MultiOnRequest. call(java.util.function.Supplier<Uni<?>> supplier)Action when items are being requested.Multi<T>MultiOnSubscribe. call(java.util.function.Function<? super org.reactivestreams.Subscription,Uni<?>> action)Produces a newMultiinvoking the given @{code action} when thesubscriptionevent is received.Multi<T>MultiOnSubscribe. call(java.util.function.Supplier<Uni<?>> action)Produces a newMultiinvoking the given @{code action} when thesubscriptionevent is received.Multi<T>MultiOnTerminate. call(java.util.function.BiFunction<java.lang.Throwable,java.lang.Boolean,Uni<?>> mapper)Attaches an action that is executed when theMultiemits a completion or a failure or when the subscriber cancels the subscription.Multi<T>MultiOnTerminate. call(java.util.function.Supplier<Uni<?>> supplier)Attaches an action that is executed when theMultiemits a completion or a failure or when the subscriber cancels the subscription.MultiOverflowStrategy<T>MultiOverflow. call(java.util.function.Function<T,Uni<?>> mapper)Define an overflow dropped item mapper to aUni.MultiOverflowStrategy<T>MultiOverflow. call(java.util.function.Supplier<Uni<?>> supplier)Define an overflow callback to aUni.Uni<T>UniOnCancel. call(java.util.function.Supplier<Uni<?>> supplier)Attaches an action executed when the subscription is cancelled.Uni<T>UniOnFailure. call(java.util.function.Function<java.lang.Throwable,Uni<?>> action)Uni<T>UniOnFailure. call(java.util.function.Supplier<Uni<?>> supplier)Uni<T>UniOnItem. call(java.util.function.Function<? super T,Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received.Uni<T>UniOnItem. call(java.util.function.Supplier<Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received, ignoring it.Uni<T>UniOnItemOrFailure. call(java.util.function.BiFunction<? super T,java.lang.Throwable,Uni<?>> callback)Uni<T>UniOnItemOrFailure. call(java.util.function.Supplier<Uni<?>> callback)Uni<T>UniOnNotNull. call(java.util.function.Function<? super T,Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received.Uni<T>UniOnNotNull. call(java.util.function.Supplier<Uni<?>> action)Produces a newUniinvoking the given @{code action} when theitemevent is received.Uni<T>UniOnSubscribe. call(java.util.function.Function<? super UniSubscription,Uni<?>> action)Produces a newUniinvoking the given @{code action} when thesubscriptionevent is received.Uni<T>UniOnSubscribe. call(java.util.function.Supplier<Uni<?>> action)Produces a newUniinvoking the given @{code action} when thesubscriptionevent is received.Uni<T>UniOnTerminate. call(Functions.Function3<? super T,java.lang.Throwable,java.lang.Boolean,Uni<?>> mapper)Attaches an action that is executed when theUniemits an item or a failure or when the subscriber cancels the subscription.Uni<T>UniOnTerminate. call(java.util.function.Supplier<Uni<?>> supplier)Attaches an action that is executed when theUniemits an item or a failure or when the subscriber cancels the subscription.<T> Uni<T>UniCreate. context(java.util.function.Function<Context,Uni<? extends T>> mapper)<T> Uni<T>UniCreate. deferred(java.util.function.Supplier<Uni<? extends T>> supplier)<T,S>
Uni<T>UniCreate. deferred(java.util.function.Supplier<S> stateSupplier, java.util.function.Function<S,Uni<? extends T>> mapper)<T> UniJoin.JoinFirstStrategy<T>UniJoin. first(java.util.List<Uni<T>> unis)Join multipleUniand emit the result from the first one to emit a signal, or the first one with a value.<T> Uni<T>UniAny. of(java.lang.Iterable<? extends Uni<? super T>> iterable)Creates aUniforwarding the first event (item or failure).Uni<T>UniOnFailure. recoverWithUni(java.util.function.Function<? super java.lang.Throwable,Uni<? extends T>> function)Recovers from the received failure (matching the predicate if set) with anotherUni.Uni<T>UniOnFailure. recoverWithUni(java.util.function.Supplier<Uni<? extends T>> supplier)Recovers from the received failure (matching the predicate if set) with anotherUni.Uni<T>UniOnTimeout. recoverWithUni(java.util.function.Supplier<Uni<? extends T>> supplier)<R,I>
MultiResourceUni<R,I>MultiCreate. resourceFromUni(java.util.function.Supplier<Uni<R>> resourceSupplier, java.util.function.Function<? super R,? extends org.reactivestreams.Publisher<I>> streamSupplier)Creates aMultifrom a resource, generated by a supplier function called for each individualSubscriber, while streaming the items from aPublisher/Multicreated from the resource.Uni<T>UniOnNull. switchTo(java.util.function.Supplier<Uni<? extends T>> supplier)<O> MultiFlatten<T,O>MultiOnItem. transformToUni(java.util.function.Function<? super T,Uni<? extends O>> mapper)On each item received from upstream, invoke the given mapper.<R> Uni<R>UniOnItem. transformToUni(java.util.function.Function<? super T,Uni<? extends R>> mapper)Transforms the received item asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.<R> Uni<R>UniOnItemOrFailure. transformToUni(java.util.function.BiFunction<? super T,java.lang.Throwable,Uni<? extends R>> mapper)Transforms the received item or failure asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.<R> Uni<R>UniOnNotNull. transformToUni(java.util.function.Function<? super T,Uni<? extends R>> mapper)Transforms the received item asynchronously, forwarding the events emitted by anotherUniproduced by the givenmapper.<O> Multi<O>MultiOnItem. transformToUniAndConcatenate(java.util.function.Function<? super T,Uni<? extends O>> mapper)For each items emitted by the upstream, the givenmapperis invoked.<O> Multi<O>MultiOnItem. transformToUniAndMerge(java.util.function.Function<? super T,Uni<? extends O>> mapper)For each items emitted by the upstream, the givenmapperis invoked.<T> UniRepeat<T>MultiRepetition. uni(java.util.function.Supplier<Uni<? extends T>> uniSupplier)<S,T>
UniRepeat<T>MultiRepetition. uni(java.util.function.Supplier<S> stateSupplier, java.util.function.Function<S,Uni<? extends T>> producer)UniAndGroupIterable<T1>UniAndGroup. unis(java.lang.Iterable<? extends Uni<?>> unis)Combines the currentUniwith the given ones.<O> UniAndGroupIterable<O>UniZip. unis(java.lang.Iterable<? extends Uni<?>> unis)Combines severalunistogether.Uni<T>UniOnItemDelay. until(java.util.function.Function<? super T,Uni<?>> function)Delays the item emission until theUniproduced by the givenFunctionemits an item (potentiallynull)MultiCollect<T>MultiCollect. when(java.util.function.Function<? super T,Uni<java.lang.Boolean>> predicate)Collects only the items from the upstream that passes the given predicate.Multi<T>MultiSelect. when(java.util.function.Function<? super T,Uni<java.lang.Boolean>> predicate)Selects the items where the given function produced aUniemittingtrue.Multi<T>MultiSkip. when(java.util.function.Function<? super T,Uni<java.lang.Boolean>> predicate)Skips the items where the given function produced aUniemittingtrue.<R> RUniConvert. with(java.util.function.Function<Uni<T>,R> converter)Transforms thisUniinto a type using the provided converter.Multi<I>MultiResource. withFinalizer(java.util.function.Function<? super R,Uni<java.lang.Void>> finalizer)Configures an asynchronous finalizer.Multi<I>MultiResource. withFinalizer(java.util.function.Function<? super R,Uni<java.lang.Void>> onCompletion, java.util.function.BiFunction<? super R,? super java.lang.Throwable,Uni<java.lang.Void>> onFailure, java.util.function.Function<? super R,Uni<java.lang.Void>> onCancellation)Configures asynchronous finalizers distinct for each event.Multi<I>MultiResource. withFinalizer(java.util.function.Function<? super R,Uni<java.lang.Void>> onCompletion, java.util.function.BiFunction<? super R,? super java.lang.Throwable,Uni<java.lang.Void>> onFailure, java.util.function.Function<? super R,Uni<java.lang.Void>> onCancellation)Configures asynchronous finalizers distinct for each event.Multi<I>MultiResourceUni. withFinalizer(java.util.function.Function<? super R,Uni<java.lang.Void>> finalizer)Configures an asynchronous finalizer.Multi<I>MultiResourceUni. withFinalizer(java.util.function.Function<? super R,Uni<java.lang.Void>> onCompletion, java.util.function.BiFunction<? super R,? super java.lang.Throwable,Uni<java.lang.Void>> onFailure, java.util.function.Function<? super R,Uni<java.lang.Void>> onCancellation)Configures asynchronous finalizers distinct for each event.Multi<I>MultiResourceUni. withFinalizer(java.util.function.Function<? super R,Uni<java.lang.Void>> onCompletion, java.util.function.BiFunction<? super R,? super java.lang.Throwable,Uni<java.lang.Void>> onFailure, java.util.function.Function<? super R,Uni<java.lang.Void>> onCancellation)Configures asynchronous finalizers distinct for each event.Constructors in io.smallrye.mutiny.groups with parameters of type Uni Constructor Description UniAndGroup(Uni<T1> upstream)UniAndGroup2(Uni<? extends T1> source, Uni<? extends T2> other)UniAndGroup3(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2)UniAndGroup4(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2, Uni<? extends T4> o3)UniAndGroup5(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2, Uni<? extends T4> o3, Uni<? extends T5> o4)UniAndGroup6(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2, Uni<? extends T4> o3, Uni<? extends T5> o4, Uni<? extends T6> o5)UniAndGroup7(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2, Uni<? extends T4> o3, Uni<? extends T5> o4, Uni<? extends T6> o5, Uni<? extends T7> o6)UniAndGroup8(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2, Uni<? extends T4> o3, Uni<? extends T5> o4, Uni<? extends T6> o5, Uni<? extends T7> o6, Uni<? extends T8> o7)UniAndGroup9(Uni<? extends T1> source, Uni<? extends T2> o1, Uni<? extends T3> o2, Uni<? extends T4> o3, Uni<? extends T5> o4, Uni<? extends T6> o5, Uni<? extends T7> o6, Uni<? extends T8> o7, Uni<? extends T9> o8)UniAndGroupIterable(Uni<? extends T1> source, java.lang.Iterable<? extends Uni<?>> iterable)UniAndGroupIterable(Uni<? extends T1> source, java.lang.Iterable<? extends Uni<?>> iterable, boolean collectFailures)UniAwait(Uni<T> upstream, Context context)UniAwaitOptional(Uni<T> upstream, Context context)UniConvert(Uni<T> upstream)UniIfNoItem(Uni<T> upstream)UniOnCancel(Uni<T> upstream)UniOnFailure(Uni<T> upstream, java.util.function.Predicate<? super java.lang.Throwable> predicate)UniOnItem(Uni<T> upstream)UniOnItemDelay(Uni<T> upstream, java.util.concurrent.ScheduledExecutorService executor)Creates a newUniOnItemDelayinstance.UniOnItemOrFailure(Uni<T> upstream)UniOnNotNull(Uni<T> upstream)UniOnNull(Uni<T> upstream)UniOnSubscribe(Uni<T> upstream)UniOnTerminate(Uni<T> upstream)UniOnTimeout(Uni<T> upstream, java.time.Duration timeout, java.util.concurrent.ScheduledExecutorService executor)UniOr(Uni<T> upstream)UniRepeat(Uni<T> upstream)UniRepeat(Uni<T> upstream, Uni<?> delay)UniRetry(Uni<T> upstream, java.util.function.Predicate<? super java.lang.Throwable> onFailurePredicate)Constructor parameters in io.smallrye.mutiny.groups with type arguments of type Uni Constructor Description MultiOverflowStrategy(Multi<T> upstream, java.util.function.Consumer<T> dropConsumer, java.util.function.Function<T,Uni<?>> dropUniMapper)MultiResourceUni(java.util.function.Supplier<Uni<R>> resourceSupplier, java.util.function.Function<? super R,? extends org.reactivestreams.Publisher<I>> streamSupplier)UniAndGroupIterable(Uni<? extends T1> source, java.lang.Iterable<? extends Uni<?>> iterable)UniAndGroupIterable(Uni<? extends T1> source, java.lang.Iterable<? extends Uni<?>> iterable, boolean collectFailures)UniAndGroupIterable(java.lang.Iterable<? extends Uni<?>> iterable) -
Uses of Uni in io.smallrye.mutiny.helpers.spies
Classes in io.smallrye.mutiny.helpers.spies that implement Uni Modifier and Type Class Description classUniGlobalSpy<T>classUniOnCancellationSpy<T>classUniOnFailureSpy<T>classUniOnItemOrFailureSpy<T>classUniOnItemSpy<T>classUniOnSubscribeSpy<T>classUniOnTerminationSpy<T>Methods in io.smallrye.mutiny.helpers.spies with parameters of type Uni Modifier and Type Method Description static <T> UniGlobalSpy<T>Spy. globally(Uni<T> upstream)Spy allUnievents.static <T> UniOnCancellationSpy<T>Spy. onCancellation(Uni<T> upstream)SpyonCancellation()events.static <T> UniOnFailureSpy<T>Spy. onFailure(Uni<T> upstream)SpyonFailure()events.static <T> UniOnFailureSpy<T>Spy. onFailure(Uni<T> upstream, java.lang.Class<? extends java.lang.Throwable> typeOfFailure)SpyonFailure(Class)events.static <T> UniOnFailureSpy<T>Spy. onFailure(Uni<T> upstream, java.util.function.Predicate<? super java.lang.Throwable> predicate)SpyonFailure(Predicate))} events.static <T> UniOnItemSpy<T>Spy. onItem(Uni<T> upstream)SpyonItem()events.static <T> UniOnItemOrFailureSpy<T>Spy. onItemOrFailure(Uni<T> upstream)SpyonItemOrFailure()events.static <T> UniOnSubscribeSpy<T>Spy. onSubscribe(Uni<T> upstream)SpyonSubscription()events.static <T> UniOnTerminationSpy<T>Spy. onTermination(Uni<T> upstream)SpyonTermination()events. -
Uses of Uni in io.smallrye.mutiny.infrastructure
Methods in io.smallrye.mutiny.infrastructure that return Uni Modifier and Type Method Description static <T> Uni<T>Infrastructure. onUniCreation(Uni<T> instance)default <T> Uni<T>UniInterceptor. onUniCreation(Uni<T> uni)Method called when a new instance ofUniis created.Methods in io.smallrye.mutiny.infrastructure with parameters of type Uni Modifier and Type Method Description default <T> UniSubscriber<? super T>UniInterceptor. onSubscription(Uni<T> instance, UniSubscriber<? super T> subscriber)Method called when a subscriber subscribes to aUni.static <T> Uni<T>Infrastructure. onUniCreation(Uni<T> instance)default <T> Uni<T>UniInterceptor. onUniCreation(Uni<T> uni)Method called when a new instance ofUniis created.static <T> UniSubscriber<? super T>Infrastructure. onUniSubscription(Uni<T> instance, UniSubscriber<? super T> subscriber) -
Uses of Uni in io.smallrye.mutiny.operators
Classes in io.smallrye.mutiny.operators that implement Uni Modifier and Type Class Description classAbstractUni<T>classUniOperator<I,O>Methods in io.smallrye.mutiny.operators that return Uni Modifier and Type Method Description Uni<T>AbstractUni. cache()Uni<T>AbstractUni. emitOn(java.util.concurrent.Executor executor)Uni<T>AbstractUni. log()Uni<T>AbstractUni. log(java.lang.String identifier)Uni<T>AbstractUni. runSubscriptionOn(java.util.concurrent.Executor executor)Uni<T>AbstractMulti. toUni()Uni<? extends I>UniOperator. upstream()<R> Uni<R>AbstractUni. withContext(java.util.function.BiFunction<Uni<T>,Context,Uni<R>> builder)Methods in io.smallrye.mutiny.operators with parameters of type Uni Modifier and Type Method Description static <T> voidAbstractUni. subscribe(Uni<? extends T> upstream, UniSubscriber<? super T> subscriber)Encapsulates subscription to slightly optimize the AbstractUni case.Method parameters in io.smallrye.mutiny.operators with type arguments of type Uni Modifier and Type Method Description <R> Uni<R>AbstractUni. withContext(java.util.function.BiFunction<Uni<T>,Context,Uni<R>> builder)<R> Uni<R>AbstractUni. withContext(java.util.function.BiFunction<Uni<T>,Context,Uni<R>> builder)Constructors in io.smallrye.mutiny.operators with parameters of type Uni Constructor Description UniOperator(Uni<? extends I> upstream)
-