Skip to content

tmcw-up-for-adoption/stream-timeout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

stream-timeout

build status

A stream that emits a timeout event if there's a large pause after a chunk.

api

var stream = Timeout(delay, opts)

stream.on('timeout', function() {
    // too late
});

Delay is same as in setTimeout, opts is given to Stream.Writable.

About

have a stream emit a timeout when it doesn't see any input

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published