mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-08 10:27:46 +08:00
25 lines
585 B
Rust
25 lines
585 B
Rust
use aether_contracts::ExecutionPlan;
|
|
use serde_json::Value;
|
|
|
|
use super::PlannerAppState;
|
|
|
|
impl<'a> PlannerAppState<'a> {
|
|
pub(crate) async fn mark_unused_local_candidate_items<T, FPlan, FContext>(
|
|
self,
|
|
remaining: Vec<T>,
|
|
plan: FPlan,
|
|
report_context: FContext,
|
|
) where
|
|
FPlan: Fn(&T) -> &ExecutionPlan,
|
|
FContext: Fn(&T) -> Option<&Value>,
|
|
{
|
|
crate::executor::mark_unused_local_candidate_items(
|
|
self.app(),
|
|
remaining,
|
|
plan,
|
|
report_context,
|
|
)
|
|
.await
|
|
}
|
|
}
|