mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +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:
1 parent
6938f81172
commit
2736918ece
1 file changed
+4
-5
+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