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

dbus: add context-aware methods #340

Merged
merged 1 commit into from
Sep 17, 2020
Merged

dbus: add context-aware methods #340

merged 1 commit into from
Sep 17, 2020

Conversation

vaspahomov
Copy link
Contributor

This feature allow pass context to dbus methods.
Useful in cases:

  • then we need to cancel execution
  • set timeout for execution

I've just forwarded context.Background creation to the dbus methods from goddbus/dbus Call

@lucab lucab changed the title Add context to dbus methods dbus: add context-aware methods Sep 10, 2020
@lucab
Copy link
Contributor

lucab commented Sep 10, 2020

@vaspahomov before I start going through this, can you please rebase on master and apply the same suggestions as #341 regarding deprecation labels?

@vaspahomov
Copy link
Contributor Author

@lucab done

@vaspahomov
Copy link
Contributor Author

@lucab look please

@lucab
Copy link
Contributor

lucab commented Sep 17, 2020

LGTM, thanks!

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

Successfully merging this pull request may close these issues.

2 participants