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
@@ -21,7 +21,7 @@ type FilesOutput = Map<string, string>;
const moduleTemplate = `
class JSI_EXPORT Native::_MODULE_NAME_::CxxSpecJSI : public TurboModule {
protected:
Native::_MODULE_NAME_::CxxSpecJSI(std::shared_ptr<JSCallInvoker> jsInvoker);
Native::_MODULE_NAME_::CxxSpecJSI(std::shared_ptr<CallInvoker> jsInvoker);
public:
::_MODULE_PROPERTIES_::