0.1.0 • Published 9 years ago

flyd-aftersilence v0.1.0

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

flyd-aftersilence

Buffers values from a source stream in an array and emits it after a specified duration of silience from the source stream.

Signature

`Stream a -> Stream b

Example

afterSilence(function(values) {
  console.log('You achieved a combo of + values.length + '!');
}, afterSilence(1000, birdsShot);
afterSilence(function(values) {
  console.log('You typed: "' + values.join('') + '" without any pauses');
}, afterSilence(300, characterTyped);
0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago