Update documentation of ReactHost.reload method (#37691)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/37691

Update documentation of ReactHost.reload method

changelog: [internal] internal

Reviewed By: cortinico, philIip

Differential Revision: D46293519

fbshipit-source-id: 38372ca1016c50d5d74ec7a6e7f9e44238c4899b
This commit is contained in:
David Vacca
2023-06-07 11:14:49 -07:00
committed by Facebook GitHub Bot
parent 57e79faf58
commit 4002a251a5
@@ -1017,6 +1017,8 @@ public class ReactHost {
* Entrypoint to reload the ReactInstance. If the ReactInstance is destroying, will wait until
* destroy is finished, before reloading.
*
* @param reason {@link String} describing why ReactHost is being reloaded (e.g. js error, user
* tap on reload button)
* @return A task that completes when React Native reloads
*/
public Task<Void> reload(String reason) {