by hatred · 11y ago · 0 comments
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