feat: new relay-notify-push DDS event to allow custom notification handlers (#3642)

This commit is contained in:
sxyazi 2026-01-31 09:25:17 +08:00
parent dfdb235d74
commit a015d4a7ef
No known key found for this signature in database
33 changed files with 117 additions and 143 deletions

View file

@ -21,6 +21,7 @@ yazi-shared = { path = "../yazi-shared", version = "26.1.22" }
# External dependencies
anyhow = { workspace = true }
deadpool = { version = "0.12.3", default-features = false, features = [ "managed", "rt_tokio_1" ] }
either = { workspace = true }
futures = { workspace = true }
hashbrown = { workspace = true }
parking_lot = { workspace = true }

View file

@ -1,7 +1,8 @@
use std::{collections::VecDeque, io, time::{Duration, Instant}};
use either::Either;
use yazi_fs::provider::{DirReader, FileHolder};
use yazi_shared::{Either, url::{AsUrl, UrlBuf}};
use yazi_shared::url::{AsUrl, UrlBuf};
use super::ReadDir;
@ -66,7 +67,7 @@ impl SizeCalculator {
};
}
let Ok(Some(ent)) = front.right_mut()?.next().await else {
let Ok(Some(ent)) = front.as_mut().right()?.next().await else {
pop_and_continue!();
};