We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to stop the traceroute task?
In the usage example, how to stop the traceroute task?
const Traceroute = require('nodejs-traceroute'); try { const tracer = new Traceroute(); tracer .on('pid', (pid) => { console.log(`pid: ${pid}`); }) .on('destination', (destination) => { console.log(`destination: ${destination}`); }) .on('hop', (hop) => { console.log(`hop: ${JSON.stringify(hop)}`); }) .on('close', (code) => { console.log(`close: code ${code}`); }); tracer.trace('github.com'); } catch (ex) { console.log(ex); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
How to stop the traceroute task?
In the usage example, how to stop the traceroute task?
The text was updated successfully, but these errors were encountered: