dweinstein / pull-delay

Delays the input through the stream. A pull.through for dominictarr's pull-stream.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SYNOPSIS

A through stream that delays the input by a rate.

USAGE

var delay = require('pull-delay');
var pull = require('pull-stream');

pull(
  pull.values([1,2,3,4,5]),
  delay(5000),
  pull.through(console.log),
  pull.drain()
);

About

Delays the input through the stream. A pull.through for dominictarr's pull-stream.

License:MIT License


Languages

Language:JavaScript 100.0%