public final class Observers extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Observers.Builder<V> |
| Modifier and Type | Method and Description |
|---|---|
static <T> Observers.Builder<T> |
builder() |
static <T,V> io.grpc.stub.StreamObserver<T> |
observe(Function<io.grpc.stub.StreamObserver<V>,io.grpc.stub.StreamObserver<T>> consumer,
Consumer<V> onNext,
Consumer<Throwable> onError) |
static <V> io.grpc.stub.StreamObserver<V> |
observer(Consumer<V> onNext) |
static <V> io.grpc.stub.StreamObserver<V> |
observer(Consumer<V> onNext,
Consumer<Throwable> onError) |
public static <V> io.grpc.stub.StreamObserver<V> observer(Consumer<V> onNext)
public static <V> io.grpc.stub.StreamObserver<V> observer(Consumer<V> onNext, Consumer<Throwable> onError)
public static <T,V> io.grpc.stub.StreamObserver<T> observe(Function<io.grpc.stub.StreamObserver<V>,io.grpc.stub.StreamObserver<T>> consumer, Consumer<V> onNext, Consumer<Throwable> onError)
public static <T> Observers.Builder<T> builder()
Copyright © 2019. All rights reserved.