Skip to content

examples: Add asynchronous D-Bus call example#325

Merged
guelfey merged 1 commit intomasterfrom
unknown repository
Jun 6, 2022
Merged

examples: Add asynchronous D-Bus call example#325
guelfey merged 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented May 6, 2022

Extend the server example with a Sleep method and add a client to
demonstrate an asynchronous D-Bus call with possible timeout handling.

@ghost ghost marked this pull request as ready for review May 9, 2022 08:13
@ghost
Copy link
Author

ghost commented May 9, 2022

Hi folks, this PR is a slight extension of an example from the docs: https://pkg.go.dev/github.com/godbus/dbus#example-Object.Go. I found it quite informative and thought it'd make sense to place it in the "_examples" directory. Happy to extend further and fix issues. Thanks.

Extend the server example with a Sleep method and add a client to
demonstrate an asynchronous D-Bus call with possible timeout handling.
@ghost ghost changed the title examples: Add an asynchronous D-Bus call example examples: Add asynchronous D-Bus call example May 9, 2022
@guelfey guelfey merged commit a37d5dd into godbus:master Jun 6, 2022
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.

1 participant