0.1.0 • Published 11 years ago

pull-unique-combine v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
11 years ago

pull-unique-combine

Build status

Like pull-stream's unique through stream but requires a result to be present in all streams

example

var pull  = require('pull-stream')
var cat  = require('pull-cat')
var uniquecombine = require('pull-unique-combine')

pull(
  cat([
		pull.values([2,3,4]),
		pull.values([3,4,5])
	]),
  uniquecombine(2),
  pull.collect(function (err, array) {
    console.log(array)

    // [3,4]
  })
)

license