- java.lang.Object
-
- io.smallrye.mutiny.subscription.Subscribers
-
public class Subscribers extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Subscribers.CallbackBasedSubscriber<T>
-
Field Summary
Fields Modifier and Type Field Description static java.util.function.Consumer<? super java.lang.Throwable>
NO_ON_FAILURE
-
Constructor Summary
Constructors Constructor Description Subscribers()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> CancellableSubscriber<T>
from(Context context, java.util.function.Consumer<? super T> onItem, java.util.function.Consumer<? super java.lang.Throwable> onFailure, java.lang.Runnable onCompletion, java.util.function.Consumer<? super java.util.concurrent.Flow.Subscription> onSubscription)
-
-
-
Method Detail
-
from
public static <T> CancellableSubscriber<T> from(Context context, java.util.function.Consumer<? super T> onItem, java.util.function.Consumer<? super java.lang.Throwable> onFailure, java.lang.Runnable onCompletion, java.util.function.Consumer<? super java.util.concurrent.Flow.Subscription> onSubscription)
-
-