mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 11:57:46 +08:00
Register split segment paths with RAMBundleRegistry
Differential Revision: D6284466 fbshipit-source-id: c80cf929af38f92f06cca5b366c58785ae992d83
This commit is contained in:
committed by
Facebook Github Bot
parent
820cfa1f3b
commit
cff0d8e0e5
@@ -53,6 +53,11 @@ public:
|
||||
*/
|
||||
virtual void setBundleRegistry(std::unique_ptr<RAMBundleRegistry> bundleRegistry) = 0;
|
||||
|
||||
/**
|
||||
* Register a file path for an additional "RAM" bundle
|
||||
*/
|
||||
virtual void registerBundle(uint32_t bundleId, const std::string& bundlePath) = 0;
|
||||
|
||||
/**
|
||||
* Executes BatchedBridge.callFunctionReturnFlushedQueue with the module ID,
|
||||
* method ID and optional additional arguments in JS. The executor is responsible
|
||||
|
||||
Reference in New Issue
Block a user