Added `SemiFuture::within`
Summary: Moved `Future::within` to `FutureBase::withinImplementation`, and changed it to return a `SemiFuture`. `SemiFuture::within` uses it directly, and `Future::within` uses it then attaches the current executor or falls back to the inline executor to preserve existing behavior. Reviewed By: yfeldblum Differential Revision: D8269907 fbshipit-source-id: 76e235a2ecb2c648603961d0ac0ac17bf646d027
Showing
Please register or sign in to comment