Skip to content
New issue

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

Add a runWithContext method #23

Open
wants to merge 13 commits into
base: master
Choose a base branch
from
Open

Add a runWithContext method #23

wants to merge 13 commits into from

Conversation

rdubrock
Copy link

@rdubrock rdubrock commented Sep 9, 2021

Hiya! I made a few changes to make calling into MTR from another program a little easier.

  • Added a runWithContext method to control timeouts
  • Makes the channel read only
  • Closes the channel from inside the run method instead of from the calling location
  • Returns an error from runWIthContext method

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants