Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 564 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 564 Bytes

pull-raf

raf as a through pull stream

made to control the flow of pixel streams.

install

with npm:

npm install --save pull-raf

usage

raf = require('pull-raf')

pull(source, raf(), sink)

source

pull.asyncMap(function (pixels, cb) {
  raf(function () {
    cb(null, pixels)
  })
})