The recipient can ask the Future to block until a result is ready, poll to see whether it's complete, cancel the computation, or check whether another thread has canceled it.
接收者可以要求Future阻止线程,直至一个结果就绪,检测查看它是否完成并取消计算指令,或检查是否有其他进程取消了它。
Therefore, before you write anything, ask yourself: exactly what decision do I want the recipient to make?
因此,在你写任何东西之前,你都要问自己:我到底想让邮件接收者做出什么样的决定?
To see the real impact that these tools are having these days, just ask Jeremy Heimans, who was recently honored as a Ford Foundation Visionary Award recipient.
要了解这些工具对当代的实际影响,就问问JeremyHe imans吧,他最近获得了福特基金会。
应用推荐