Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java APIに非同期版を追加する #769

Open
3 tasks done
qryxip opened this issue Mar 31, 2024 · 2 comments
Open
3 tasks done

Java APIに非同期版を追加する #769

qryxip opened this issue Mar 31, 2024 · 2 comments

Comments

@qryxip
Copy link
Member

qryxip commented Mar 31, 2024

内容

Apache OpenDALを参考に、CompletableFuture<T>で結果を返すAPIをJava APIに増やします。
#550 (comment)

Pros 良くなる点

  • Javaでも非同期機能が使えるようになる

Cons 悪くなる点

  • 実装、メンテ

実現方法

VOICEVOXのバージョン

N/A

OSの種類/ディストリ/バージョン

  • Windows
  • macOS
  • Linux

その他

OpenDALのJavaの非同期は、なんかちょっと変わる予定らしいです。
apache/opendal#4376

@qryxip qryxip changed the title Java APIに非同期機能を追加する Java APIに非同期版を追加する Mar 31, 2024
@Hiroshiba
Copy link
Member

実装しても良いような気はしつつ、需要が発生してからでも良いような気もしつつ、という直感です!
優先度は高くないけどプルリク来たらマージしても良いかも、くらいの温度感かな…?
(需要がわからないのがとても大きい)

@qryxip
Copy link
Member Author

qryxip commented Apr 10, 2024

まあ今入れるかどうかはともかく、名前空間は他言語と合わせる形でpackage blockingを切った方が多分よいですね。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants