Closed stodge closed 3 years ago
I'm loading and decoding a local PCAP file using pcap.createOfflineSession(). I need to know when the module is done parsing the PCAP file, but I don't see any evidence of an "end" event. Is there such a thing? Thanks
pcap.createOfflineSession()
My mistake, I found the "complete" event in the source:
pcap_session.on("complete", () => { console.log("DONE") })
I'm loading and decoding a local PCAP file using
pcap.createOfflineSession()
. I need to know when the module is done parsing the PCAP file, but I don't see any evidence of an "end" event. Is there such a thing? Thanks