mirror of
https://github.com/facebook/react-native.git
synced 2024-11-21 22:10:14 +00:00
Update javadoc for ReactHost.destroy() method (#47741)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/47741 Update javadoc for ReactHost.destroy() method changelog: [internal] internal Reviewed By: shwanton Differential Revision: D66215193 fbshipit-source-id: 836c8383f5bb2ffd14b46e498be74b6ed79b4402
This commit is contained in:
parent
e88974f199
commit
0eff2c5a22
@ -140,7 +140,8 @@ public interface ReactHost {
|
|||||||
* @param reason describing why ReactHost is being destroyed (e.g. memory pressure)
|
* @param reason describing why ReactHost is being destroyed (e.g. memory pressure)
|
||||||
* @param ex exception that caused the trigger to destroy ReactHost (or null) This exception will
|
* @param ex exception that caused the trigger to destroy ReactHost (or null) This exception will
|
||||||
* be used to log properly the cause of destroy operation.
|
* be used to log properly the cause of destroy operation.
|
||||||
* @param onDestroyFinished callback that will be called when React Native gets destroyed.
|
* @param onDestroyFinished callback that will be called when React Native gets destroyed, the
|
||||||
|
* callback will run on a background thread.
|
||||||
* @return A task that completes when React Native gets destroyed.
|
* @return A task that completes when React Native gets destroyed.
|
||||||
*/
|
*/
|
||||||
public fun destroy(
|
public fun destroy(
|
||||||
|
@ -562,7 +562,8 @@ public class ReactHostImpl implements ReactHost {
|
|||||||
* @param reason describing why ReactHost is being destroyed (e.g. memory pressure)
|
* @param reason describing why ReactHost is being destroyed (e.g. memory pressure)
|
||||||
* @param ex exception that caused the trigger to destroy ReactHost (or null) This exception will
|
* @param ex exception that caused the trigger to destroy ReactHost (or null) This exception will
|
||||||
* be used to log properly the cause of destroy operation.
|
* be used to log properly the cause of destroy operation.
|
||||||
* @param onDestroyFinished callback that will be called when React Native gets destroyed.
|
* @param onDestroyFinished callback that will be called when React Native gets destroyed, the
|
||||||
|
* callback will run on a background thread.
|
||||||
* @return A task that completes when React Native gets destroyed.
|
* @return A task that completes when React Native gets destroyed.
|
||||||
*/
|
*/
|
||||||
@NonNull
|
@NonNull
|
||||||
|
Loading…
Reference in New Issue
Block a user