noOpObserver

public static StreamObserver<T> noOpObserver<T>()

Creates a observer which does nothing upon the invocation of its callback methods.

The callees which do not want to follow the responses should use this utility method to eliminate boilerplate code.

Return

an instance of StreamObserver which does nothing