mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Rename JSCallInvoker{,Holder} to CallInvoker{,Holder}
Summary: ## Motivation The concept behind JSCallInvoker doesn't necessarily have to apply only to the JS thread. On Android, we need to re-use this abstraction to allow execution of async method calls on the NativeModules thread. Reviewed By: PeteTheHeat Differential Revision: D17377313 fbshipit-source-id: 3d9075cbfce0b908d800a366947cfd16a3013d1c
This commit is contained in:
committed by
Facebook Github Bot
parent
60b57bad54
commit
4c998fd05d
@@ -37,7 +37,7 @@ const proprertyDefTemplate =
|
||||
const moduleTemplate = `
|
||||
::_MODULE_PROPERTIES_::
|
||||
|
||||
Native::_MODULE_NAME_::CxxSpecJSI::Native::_MODULE_NAME_::CxxSpecJSI(std::shared_ptr<JSCallInvoker> jsInvoker)
|
||||
Native::_MODULE_NAME_::CxxSpecJSI::Native::_MODULE_NAME_::CxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker)
|
||||
: TurboModule("::_MODULE_NAME_::", jsInvoker) {
|
||||
::_PROPERTIES_MAP_::
|
||||
}`.trim();
|
||||
|
||||
Reference in New Issue
Block a user