https://github.com/dweinstein/pull-delay
Delays the input through the stream. A pull.through for dominictarr's pull-stream.
https://github.com/dweinstein/pull-delay
Last synced: 2 months ago
JSON representation
Delays the input through the stream. A pull.through for dominictarr's pull-stream.
- Host: GitHub
- URL: https://github.com/dweinstein/pull-delay
- Owner: dweinstein
- License: mit
- Created: 2015-04-09T22:20:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-04-10T03:21:18.000Z (about 10 years ago)
- Last Synced: 2025-02-12T09:57:54.271Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 129 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SYNOPSIS
A through stream that delays the input by a rate.
# USAGE
```javascript
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()
);
```