mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Migrate TurboModule to kotlin (#38503)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/38503 In this diff I'm migrating TurboModule to kotlin changelog: [internal] internal Reviewed By: christophpurrer, cortinico Differential Revision: D47382875 fbshipit-source-id: 9df36be8ad20f8bce35b0f991867f22c0101fc97
This commit is contained in:
committed by
Facebook GitHub Bot
parent
6938f81172
commit
2736918ece
+4
-5
@@ -5,13 +5,12 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.turbomodule.core.interfaces;
|
||||
|
||||
package com.facebook.react.turbomodule.core.interfaces
|
||||
/** All turbo modules should inherit from this interface */
|
||||
public interface TurboModule {
|
||||
interface TurboModule {
|
||||
/** Initialize the TurboModule. */
|
||||
void initialize();
|
||||
fun initialize()
|
||||
|
||||
/** Called before React Native is torn down. Clean up after the TurboModule. */
|
||||
void invalidate();
|
||||
fun invalidate()
|
||||
}
|
||||
Reference in New Issue
Block a user