mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
43807f04fe
Summary: Self explanatory. 1. **Existing:** We create the NativeModules thread in CatalystInstanceImpl.cpp. 2. D17422165: We wrap this thread in a `BridgeNativeCallInvoker`. 3. D17422164: We use `CatalystInstanceImpl::getNativeCallInvokerHolder()` to get a hold of the `BridgeNitiveCallInvoker` in Java. 4. D17422163: From Java, we pass this `CallInvokerHolder` to `TurboModuleManager`'s constructor. 5. **This diff:** `TurboModuleManager` then unwraps the `CallInvoker` from `CallInvokerHolder`, and passes it to all TurboModules in their constructor. Reviewed By: PeteTheHeat Differential Revision: D17422160 fbshipit-source-id: c0a76dfe5fdedac2e0e21f7a562bc7588dc190fb