接口 StreamObserver<T>
-
- 类型参数:
T- type of message
public interface StreamObserver<T>StreamObserver is a common streaming API. It is an observer for receiving messages. Implementations are NOT required to be thread-safe.
T - type of messagepublic interface StreamObserver<T>