瀏覽代碼

fix(core): expose ipc::Invoke (#11290)

Lucas Fernandes Nogueira 10 月之前
父節點
當前提交
4731f0cf31
共有 2 個文件被更改,包括 5 次插入1 次删除
  1. 5 0
      .changes/expose-invoke.md
  2. 0 1
      crates/tauri/src/ipc/mod.rs

+ 5 - 0
.changes/expose-invoke.md

@@ -0,0 +1,5 @@
+---
+"tauri": patch:bug
+---
+
+Export the `ipc::Invoke` struct.

+ 0 - 1
crates/tauri/src/ipc/mod.rs

@@ -195,7 +195,6 @@ impl Response {
 /// The message and resolver given to a custom command.
 ///
 /// This struct is used internally by macros and is explicitly **NOT** stable.
-#[doc(hidden)]
 #[default_runtime(crate::Wry, wry)]
 pub struct Invoke<R: Runtime> {
   /// The message passed.