Update documnetation of TurboModule.invalidate() (#38854)

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

Update documnetation of TurboModule.invalidate()

changelog: [internal] internal

Reviewed By: rshest

Differential Revision: D48130527

fbshipit-source-id: 0ebedaad603beba646f9ad4f047492e88b5f54a0
This commit is contained in:
David Vacca
2023-08-08 12:36:22 -07:00
committed by Facebook GitHub Bot
parent 1d8727966d
commit fc85b60db8
@@ -11,6 +11,9 @@ interface TurboModule {
/** Initialize the TurboModule. */
fun initialize()
/** Called before React Native is torn down. Clean up after the TurboModule. */
/**
* Called during the turn down process of ReactHost. This method is called before React Native is
* stopped. Override this method to clean up resources used by the TurboModule.
*/
fun invalidate()
}