diff options
author | Linus Unnebäck <linus@folkdatorn.se> | 2020-05-15 19:53:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 20:53:23 +0200 |
commit | 8228ea85fd610d5496a3240538f15d2f4eed1d87 (patch) | |
tree | 5fd270d3107216a3aee306b99207c05abf022919 /std/async/deferred_test.ts | |
parent | 89fe81168e75a375a67e9d391b367d2a9749153c (diff) |
refactor(fs): use every instead of reduce (#5323)
The previous usage of `reduce` was basically implementing the `every`
A small difference is that the new implementation will stop checking
as soon as one element have returned false, which will reduce
the number of unnecessary checks.
Diffstat (limited to 'std/async/deferred_test.ts')
0 files changed, 0 insertions, 0 deletions