fn loader<'a>(
state: &'a AppState,
pending: Option<&'a DroneDefinition>,
) -> impl Fn(&str, Option<i64>) -> Option<(String, DroneGraph)> + 'aExpand description
Finds a drone by id (and saved version) for the check of the drones one calls. pending is a graph about to be
saved: it stands in for the saved one, so a callee that is being changed is checked as it will be.