Fermium-co / Fermium-co/LINQ4ES2015
Re-using an enumerable
Open
- Dominant language
- JavaScript
- Stars
- 14
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
E.g
```
var filters = this.enabledFilters.asEnumerable();
ar.where(x => filters.any(f => f.filter(x)));
```
This won't work because the filters enumerable will be in the 'done' state after the first .any() iteration.
I wasn't expecting this behavior, but knowing it now makes me able to workaround it ;-)
Contributor guide
Assessment
This issue has not been assessed yet.