| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Pause a stream's data events
$ npm install pausevar pause = require('pause')Pause the data events on a stream and return a handle to resume or end the stream.
Dispose of the handle. This does not end the stream, but it simply discards the event collection, making handle.resume() a no-op.
Resume the stream by re-emitting all the data events in the same order, followed by an end event, if that was emitting during the pause.
| Back | FazBrowse Home | New Git URL |