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 2f28e3e commit 8603f69Copy full SHA for 8603f69
src/runtime.rs
@@ -14,6 +14,13 @@ extern "C" {
14
options: Option<&Object>,
15
) -> Result<JsValue, JsValue>;
16
17
+ #[wasm_bindgen(catch, method, js_name = sendNativeMessage)]
18
+ pub async fn send_native_message(
19
+ this: &Runtime,
20
+ application: &str,
21
+ message: &Object,
22
+ ) -> Result<JsValue, JsValue>;
23
+
24
#[wasm_bindgen(method)]
25
pub fn connect(this: &Runtime, extension_id: Option<&str>, connect_info: &Object) -> Port;
26
0 commit comments