Add getSemiFuture and storage of executor to FutureSplitter so that returned...
Add getSemiFuture and storage of executor to FutureSplitter so that returned future completes on the expected executor. Summary: Remove calls to Promise::getFuture in FutureSplitter test. Add getSemiFuture to FutureSplitter for consistency with Promise. Keep getFuture method but ensure that it completes on the same executor as the input future (or Inline if the executor on the input future was null, due to legacy code). Reviewed By: yfeldblum Differential Revision: D7105806 fbshipit-source-id: 63a919ba9dcf0f189782a3e2a362fad4d86ac91f
Showing
Please register or sign in to comment