mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-09 09:30:10 +08:00
Provide sync vs async interface for bundle loading via parameter
Reviewed By: javache Differential Revision: D5104317 fbshipit-source-id: ffacb57d85c24795a3acc2faba2ff5824cc739b2
This commit is contained in:
committed by
Facebook Github Bot
parent
d59fd9e419
commit
f46eaa30cf
@@ -27,6 +27,9 @@ public interface CatalystInstance
|
||||
extends MemoryPressureListener, JSInstance {
|
||||
void runJSBundle();
|
||||
|
||||
// Returns the status of running the JS bundle; waits for an answer if runJSBundle is running
|
||||
boolean hasRunJSBundle();
|
||||
|
||||
/**
|
||||
* Return the source URL of the JS Bundle that was run, or {@code null} if no JS
|
||||
* bundle has been run yet.
|
||||
|
||||
Reference in New Issue
Block a user