removeInvalidElementsFromPool method
Implementation
FutureOr<bool> removeInvalidElementsFromPool({bool checkUsage = true}) {
FutureOr<List<O>> ret = invalidPoolElements(checkUsage: checkUsage);
return ret.resolveMapped((l) {
for (var o in l) {
++_invalidatedElementsCount;
removeFromPool(o);
}
return true;
});
}