Skip to content

Commit

Permalink
Update documentation of ReactHost.reload method (#37691)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #37691

Update documentation of ReactHost.reload method

changelog: [internal] internal

Reviewed By: cortinico, philIip

Differential Revision: D46293519

fbshipit-source-id: 95562dad242ff26f572412e37ca297177e2e6584
  • Loading branch information
mdvacca committed Jun 6, 2023
1 parent ae24fe5 commit 90bc15a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1017,6 +1017,8 @@ private void log(String method) {
* 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) {
Expand Down

0 comments on commit 90bc15a

Please sign in to comment.