Can someone explain to me what does it add over http://www.boost.org/doc/libs/1_58_0/doc/html/thread/synchro... and pros/cons ? Thanks.
To my knowledge, our C++ Thrift code is here: https://github.com/facebook/fbthrift
(I work on Presto and occasionally Swift at Facebook, but am not at all familiar with modern C++)
void run_and_report()
{
something_long_running()
.then([=]{ report_results() });
} // blocks here until the then() block executes