33use dioxus:: prelude:: * ;
44use std:: time:: Duration ;
55
6-
76use crate :: {
87 cache:: ProviderCache ,
98 refresh:: { RefreshRegistry , TaskType } ,
@@ -25,7 +24,7 @@ pub fn setup_interval_task_core<P, Param>(
2524 cache : & ProviderCache ,
2625 refresh_registry : & RefreshRegistry ,
2726) where
28- P : Provider < Param > + Clone + Send ,
27+ P : Provider < Param > + Clone ,
2928 Param : ProviderParamBounds ,
3029{
3130 if let Some ( interval) = provider. interval ( ) {
@@ -103,7 +102,7 @@ pub fn setup_cache_expiration_task_core<P, Param>(
103102 cache : & ProviderCache ,
104103 refresh_registry : & RefreshRegistry ,
105104) where
106- P : Provider < Param > + Clone + Send ,
105+ P : Provider < Param > + Clone ,
107106 Param : ProviderParamBounds ,
108107{
109108 if let Some ( expiration) = provider. cache_expiration ( ) {
@@ -195,7 +194,7 @@ pub fn setup_stale_check_task_core<P, Param>(
195194 cache : & ProviderCache ,
196195 refresh_registry : & RefreshRegistry ,
197196) where
198- P : Provider < Param > + Clone + Send ,
197+ P : Provider < Param > + Clone ,
199198 Param : ProviderParamBounds ,
200199{
201200 if let Some ( stale_time) = provider. stale_time ( ) {
0 commit comments