Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up experiment to dispatch promise methods asynchronously to Nativ…
…eModules thread Summary: TurboModule methods that return promises are synchronously run on the JavaScript thread. Back in D22489338 (9c35b5b), we wrote code to make them dispatch on the NativeModules thread. That code, however, was just left disabled. In this diff, I wire up the TurboModules infra to a MobileConfig, which should allow us to assess the performance impact of async dispatch of promise methods to the NativeModules thread in production, before we roll it out more widely. Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D24685389 fbshipit-source-id: 8ceb2e6effc125abecfa76e5e90bd310676aefc9
- Loading branch information