refactor(task): move retry primitives into the task crate

This commit is contained in:
Tunglies
2026-12-02 02:10:09 +08:00
committed by GitHub
parent 87b3cf6561
commit 59e315abeb
13 changed files with 69 additions and 69 deletions
+1 -1
View File
@@ -3,7 +3,6 @@ use super::{
prfitem::{RemoteProfileRefresh, build_profile},
};
use crate::core::notify::{Refresh, announce};
use crate::utils::retry::{RetryError, RetryPolicy, retry, retry_with_state};
use crate::{
core::{handle, tray::Tray},
process::AsyncHandler,
@@ -20,6 +19,7 @@ use clash_verge_profile::selected_nodes::{
};
pub use clash_verge_profile::{IProfilePreview, IProfiles};
use clash_verge_subscription::normalize_profile_home_url;
use clash_verge_task::retry::{RetryError, RetryPolicy, retry, retry_with_state};
use futures::FutureExt as _;
use serde_yaml_ng::Mapping;
use std::num::NonZeroUsize;