forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some Tasks overhead (facebook#46348)
Summary: Pull Request resolved: facebook#46348 `continueWithTask` skips an extra invocation layer that `onSuccess` adds. Switch to Task<Void> as the task can already represent failure or success without needing a boolean. Changelog: [Internal] Reviewed By: mdvacca Differential Revision: D62213722 fbshipit-source-id: 631d741bd2ec4917eab69a20978ab2ace737c459
- Loading branch information
1 parent
3bd3d76
commit 0c90cfc
Showing
2 changed files
with
30 additions
and
40 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