Skip to content

Commit

Permalink
Remove async.iterator (#1237)
Browse files Browse the repository at this point in the history
  • Loading branch information
megawac committed Jul 12, 2016
1 parent 8b36d12 commit 3bf0243
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 112 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Another big performance win has been re-implementing `queue`, `cargo`, and `prio
- The test function for `whilst`, `until`, and `during` used to be passed non-error args from the iteratee function's callback, but this led to weirdness where the first call of the test function would be passed no args. We have made it so the test function is never passed extra arguments, and only the `doWhilst`, `doUntil`, and `doDuring` functions pass iteratee callback arguments to the test function (#1217, #1224)
- The `q.tasks` array has been renamed `q._tasks` and is now implemented as a doubly linked list (DLL). Any code that used to interact with this array will need to be updated to either use the provided helpers or support DLLs (#1205).
- The timing of the `q.saturated()` callback in a `queue` has been modified to better reflect when tasks pushed to the queue will start queueing. (#724, #1078)
- Removed `iterator` method in favour of [ES2015 iterator protocol](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Iterators_and_Generators ) which natively supports arrays (#1237)
- Dropped support for Component, Jam, SPM, and Volo (#1175, ##176)

## Bug Fixes
Expand Down
3 changes: 0 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ import filter from './filter';
import filterLimit from './filterLimit';
import filterSeries from './filterSeries';
import forever from './forever';
import iterator from './iterator';
import log from './log';
import map from './map';
import mapLimit from './mapLimit';
Expand Down Expand Up @@ -129,7 +128,6 @@ export default {
filterLimit: filterLimit,
filterSeries: filterSeries,
forever: forever,
iterator: iterator,
log: log,
map: map,
mapLimit: mapLimit,
Expand Down Expand Up @@ -222,7 +220,6 @@ export {
filterLimit as filterLimit,
filterSeries as filterSeries,
forever as forever,
iterator as iterator,
log as log,
map as map,
mapLimit as mapLimit,
Expand Down
48 changes: 0 additions & 48 deletions lib/iterator.js

This file was deleted.

61 changes: 0 additions & 61 deletions mocha_test/iterator.js

This file was deleted.

0 comments on commit 3bf0243

Please sign in to comment.