0.2.2 • Published 11 years ago

async-iterators v0.2.2

Weekly downloads
990
License
-
Repository
-
Last release
11 years ago

#async-iterators Utility functions for async iterators in Node.js.

An async iterator is an object with a next(cb) method. Invoking the method will return the next item of an underlying data source.

This library gives you some useful functions like forEach and map for iterators:

var iterators = require('async-iterators')

iterators.forEach(someIterator, function(err, data) {
  console.log(data)
}, function() {
  console.log('end')
})

Some libraries using the async iterator pattern:

##License MIT

0.2.2

11 years ago

0.2.1

11 years ago

0.2.0

11 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago