Passes a stream through unchanged and fails it when it falls silent.
The clock starts at once (the wait for the first byte counts) and is
reset by every chunk. When it runs out, the source is destroyed and the
returned stream errors with a sentence that says how long nothing came
and how much had come before.
Parameters
source: Readable
The stream to watch.
stallMs: number
Silence allowed before the stream is failed.
what: string
What is being transferred, for the error (file 30916964).
Passes a stream through unchanged and fails it when it falls silent.
The clock starts at once (the wait for the first byte counts) and is reset by every chunk. When it runs out, the source is destroyed and the returned stream errors with a sentence that says how long nothing came and how much had come before.