Closed coding4m closed 3 years ago
Motivation:
io.grpc.stub.StreamObserver sometimes call onError after call onNext. so Promise would cause a IllegalStateException("Result is already complete").
use Promise.tryFail to prevent this problem.
thanks
Motivation:
io.grpc.stub.StreamObserver sometimes call onError after call onNext. so Promise would cause a IllegalStateException("Result is already complete").
use Promise.tryFail to prevent this problem.