We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tokio
uniffi
1 parent 8bb51ad commit 22e2e1cCopy full SHA for 22e2e1c
src/builder.rs
@@ -259,6 +259,7 @@ impl NodeBuilder {
259
///
260
/// If not provided, the node will spawn its own runtime or reuse any outer runtime context it
261
/// can detect.
262
+ #[cfg_attr(feature = "uniffi", allow(dead_code))]
263
pub fn set_runtime(&mut self, runtime_handle: tokio::runtime::Handle) -> &mut Self {
264
self.runtime_handle = Some(runtime_handle);
265
self
src/lib.rs
@@ -107,6 +107,7 @@ pub use lightning;
107
pub use lightning_invoice;
108
pub use lightning_liquidity;
109
pub use lightning_types;
110
+pub use tokio;
111
pub use vss_client;
112
113
pub use balance::{BalanceDetails, LightningBalance, PendingSweepBalance};
0 commit comments