Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果一个 async 方法返回一个Future对象,但是我们不关心底层操作是成功还是失败,那么调用该方法而不存储返回的对象是否有任何不利影响Future?
Future
提前致谢。
如果您也不关心操作是否已执行或取消,那么可以,您可以忽略返回的 Future。