mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-22 00:24:19 +01:00
rs: Run hooks, methods and notification handlers in tokio tasks
Changelog-Changed: cln-plugin: Hooks, notifications and RPC methods now run asynchronously allowing for re-entrant handlers
This commit is contained in:
committed by
ShahanaFarooqui
parent
db3707f957
commit
f69da84256
@@ -28,7 +28,7 @@ impl Value {
|
||||
_ => None,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// Returns true if the `Value` is an integer between `i64::MIN` and
|
||||
/// `i64::MAX`.
|
||||
///
|
||||
@@ -36,8 +36,6 @@ impl Value {
|
||||
/// return the integer value.
|
||||
pub fn is_i64(&self) -> bool {
|
||||
self.as_i64().is_some()
|
||||
|
||||
|
||||
}
|
||||
|
||||
/// If the `Value` is an integer, represent it as i64. Returns
|
||||
|
||||
Reference in New Issue
Block a user