isAsyncOrHasAsyncDependency function
Implementation
bool isAsyncOrHasAsyncDependency(
InjectedDependency iDep, Set<DependencyConfig> allDeps) {
final dep = lookupDependency(iDep, allDeps);
if (dep == null) {
return false;
}
if (dep.isAsync && !dep.preResolve) {
return true;
}
return hasAsyncDependency(dep, allDeps);
}