mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/50545 All usages of Task.call involve a Runnable which returns another Task, which we then extract using `.continueWithTask(Task::getResult)`. Instead inline this behaviour inside `Task.call` to avoid allocation of unnecessary intermediate objects. Changelog: [Internal] Reviewed By: rshest Differential Revision: D72600051 fbshipit-source-id: 7e7c0c8e1de24b1aeff7addab2eb10272bc73ddb