-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Currently the pcap-parser always starts on the next tick due to this code:
process.nextTick(this.stream.resume.bind(this.stream));Even if you attempt to call parser.stream.pause() after creating the parser it will still be summarily resume()'d on the nextTick(). It would be nice if there was an option to the constructor indicating that the stream should remain paused.
Alternatively, implementing the Readable interface provided by streams2 would provide a similar effect.
I haven't looked at writing a pull request because I heard a rumor that a conversion to streams2 may be in the works. Is that true?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels