Add a full drain for folly's ManualExecutor.
Summary: ManualExecutor::run() is stable, which means that in cases where we want to fully drain the executor we have to loop over it. This adds ManualExecutor::drain() which does that internally. Reviewed By: yfeldblum Differential Revision: D6126840 fbshipit-source-id: e36cba5c373a57fe01de244977ec852636b58dbd
Showing
Please register or sign in to comment