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

Introduce recv_blocking() method on PayloadReceiver #1

Closed
wants to merge 1 commit into from

Conversation

strohel
Copy link
Member

@strohel strohel commented Mar 10, 2023

  • Check test_all.sh is passed.
  • Add fix #{ISSUE_NUMBER} if the corresponding issue exists.
  • Fill out ## Changelog section. If the change is for only internal use, please write None to the section.

In addition to the API changes, update readme and example to use the new method (current versiont does a busy-loop).

Best viewed with whitespace change ignored.

Changelog

  • recv_blocking() method was introduced on PayloadReceiver. It allows callers to wait for a frame without using futures.

@strohel strohel requested a review from bschwind March 10, 2023 23:21
@strohel
Copy link
Member Author

strohel commented Mar 10, 2023

@bschwind I'm opening this on tonarino repository because GitHub doesn't allow "stacked" PRs on remote forks.

If you could test with a GenICam camera that would be great. Relates to https://github.com/tonarino/portal/pull/2329.

Allows callers to wait for a frame without using futures.
@strohel
Copy link
Member Author

strohel commented Mar 11, 2023

Superseded by cameleon-rs#153.

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