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

异步回调为什么是ListenableFutureTask #55

Open
bigmoom opened this issue Jun 29, 2021 · 0 comments
Open

异步回调为什么是ListenableFutureTask #55

bigmoom opened this issue Jun 29, 2021 · 0 comments

Comments

@bigmoom
Copy link

bigmoom commented Jun 29, 2021

在我们调用使用 @async 注解的方法时,如果方法返回的类型是 ListenableFuture 的情况下,实际方法返回的是 ListenableFutureTask 对象。
这个是为啥呀,我看源码怎么没找到相关内容呀

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

No branches or pull requests

1 participant