-
Notifications
You must be signed in to change notification settings - Fork 5.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify ExtendedCoroutinePromise interface
Summary: - I see no benefit to `getHandle()` being part of the virtual inteface. The code certainly gets shorter! - Remove `ExtendedCoroutineHandle::getPromise` -- it's is unused, and of dubious value - Mark `getErrorHandle` as `final` throughout, the goal being that removing `final` from `TaskPromise` should not impact compiler optimizations since those classes would remain non-polymorphic. Reviewed By: iahs Differential Revision: D61404120 fbshipit-source-id: a337a57eb4aa1bdf34e98af527a28331cc0414f9
- Loading branch information
1 parent
4db2eb2
commit 7dc0554
Showing
4 changed files
with
15 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters