1.0.0 • Published 7 years ago

pull-buffer-sort v1.0.0

Weekly downloads
-
License
Fair
Repository
-
Last release
7 years ago

pull-buffer-sort

Through stream that buffers values during backpressure and outputs them in sorted order.

var sort = require('pull-buffer-sort')

pull(
  source,
  sort(function (a, b) { return a.value - b.value}),
  backpressurySink
)

License

Copyright (c) 2016 Charles Lehner

Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument.

DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY.