mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Kotlinify JSInstance (#43893)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43893 Changelog: [Internal] As part of the Sustainability Week (see [post](https://fb.workplace.com/groups/251759413609061/permalink/742797531171911/)). Reviewed By: cortinico Differential Revision: D55791330 fbshipit-source-id: 5b5b687a126cfe9dc867032a45033f0cb70dc31d
This commit is contained in:
committed by
Facebook GitHub Bot
parent
d50f6ffd8e
commit
0e4aed1061
+4
-3
@@ -5,14 +5,15 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
|
||||
package com.facebook.react.bridge;
|
||||
package com.facebook.react.bridge
|
||||
|
||||
/**
|
||||
* This interface includes the methods needed to use a running JS instance, without specifying any
|
||||
* of the bridge-specific initialization or lifecycle management.
|
||||
*/
|
||||
interface JSInstance {
|
||||
void invokeCallback(int callbackID, NativeArrayInterface arguments);
|
||||
internal interface JSInstance {
|
||||
public fun invokeCallback(callbackID: Int, arguments: NativeArrayInterface)
|
||||
|
||||
// TODO if this interface survives refactoring, think about adding
|
||||
// callFunction.
|
||||
}
|
||||
Reference in New Issue
Block a user