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:
Ramanpreet Nara
2019-09-20 10:52:56 -07:00
committed by Facebook Github Bot
parent 60b57bad54
commit 4c998fd05d
67 changed files with 279 additions and 284 deletions
@@ -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();