public class Subscribers extends Object
| Constructor and Description |
|---|
Subscribers() |
| Modifier and Type | Method and Description |
|---|---|
static <T> CancellableSubscriber<T> |
cancelled() |
static <T> CancellableSubscriber<T> |
from(Consumer<? super T> onItem) |
static <T> CancellableSubscriber<T> |
from(Consumer<? super T> onItem,
Consumer<? super Throwable> onFailure) |
static <T> CancellableSubscriber<T> |
from(Consumer<? super T> onItem,
Consumer<? super Throwable> onFailure,
Runnable onCompletion) |
static <T> CancellableSubscriber<T> |
from(Consumer<? super T> onItem,
Consumer<? super Throwable> onFailure,
Runnable onCompletion,
Consumer<? super org.reactivestreams.Subscription> onSubscription) |
public static <T> CancellableSubscriber<T> cancelled()
public static <T> CancellableSubscriber<T> from(Consumer<? super T> onItem)
public static <T> CancellableSubscriber<T> from(Consumer<? super T> onItem, Consumer<? super Throwable> onFailure)
public static <T> CancellableSubscriber<T> from(Consumer<? super T> onItem, Consumer<? super Throwable> onFailure, Runnable onCompletion)
Copyright © 2019–2020 SmallRye. All rights reserved.