mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
1d8727966d
commit
fc85b60db8
+4
-1
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user