googleapis / googleapis/google-cloud-java

Replace ListenableFuture with CompletionStage / CompletableFuture

オープン
#9,498 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
priority: p3 type: process
主要言語
Java
スター
2.1k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
157

説明

Thanks for stopping by to let us know something could be better!

**Is your feature request related to a problem? Please describe.**
E.g. [#2688](https://github.com/grpc/grpc-java/issues/2688), the same request is mentioned [there](https://github.com/grpc/grpc-java/issues/2688#issuecomment-386447024).

**Describe the solution you'd like**
To add code generation configuration parameter to use CompletionStage instead of ListenableFuture.

From https://grpc.io/docs/languages/java/generated-code/#unary-3 :
```
Unary

The future stub signature for a unary RPC method unaryExample:

-public ListenableFuture unaryExample(RequestType request)
+public CompletionStage unaryExample(RequestType request)
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。