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 #153

Merged
merged 1 commit into from
Mar 15, 2023

Commits on Mar 14, 2023

  1. Introduce recv_blocking() method on PayloadReceiver

    Allows callers to wait for a frame without using futures.
    
    Also bump async-std dependency to 1.12 (unfortunately still doesn't ensure recent-enough
    `async-channel` - but I'll fix that in another PR).
    
    Also update the stream example and READMEs with the new method, making it print any receive errors
    (but not panic on them) and doing exactly 10 tries (instead of waiting for 10 success payloads).
    strohel committed Mar 14, 2023
    Configuration menu
    Copy the full SHA
    7162e21 View commit details
    Browse the repository at this point in the history