public interface NotThreadSafeBridgeIdleDebugListener
CatalystInstance.addBridgeIdleDebugListener(com.facebook.react.bridge.NotThreadSafeBridgeIdleDebugListener)
to start monitoring.
NB: onTransitionToBridgeIdle and onTransitionToBridgeBusy may be called from different threads,
and those threads may not be the same thread on which the listener was originally registered.Modifier and Type | Method and Description |
---|---|
void |
onBridgeDestroyed()
Called when the bridge is destroyed
|
void |
onTransitionToBridgeBusy()
Called when the bridge was in an idle state and executes a JS call or callback.
|
void |
onTransitionToBridgeIdle()
Called once all pending JS calls have resolved via an onBatchComplete call in the bridge and
the requested native module calls have also run.
|
void onTransitionToBridgeIdle()
void onTransitionToBridgeBusy()
void onBridgeDestroyed()