Futures and promises

In computer sciencefuturepromisedelay, and deferred refer to constructs used for synchronizing program execution in some concurrent programming languages. They describe an object that acts as a proxy for a result that is initially unknown, usually because the computation of its value is yet incomplete.

posted @ 2018-03-28 19:18  zzfx  阅读(128)  评论(0编辑  收藏  举报