We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 735a64a commit ff0dfd5Copy full SHA for ff0dfd5
src/runtime.rs
@@ -24,6 +24,9 @@ extern "C" {
24
#[wasm_bindgen(method)]
25
pub fn connect(this: &Runtime, extension_id: Option<&str>, connect_info: &Object) -> Port;
26
27
+ #[wasm_bindgen(method, js_name = connectNative)]
28
+ pub fn connect_native(this: &Runtime, application: &str) -> Port;
29
+
30
#[wasm_bindgen(method, getter, js_name = onMessage)]
31
pub fn on_message(this: &Runtime) -> EventTarget;
32
0 commit comments