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

Pass IDLE responses to caller. #186

Merged
merged 23 commits into from
Apr 20, 2021
Merged

Pass IDLE responses to caller. #186

merged 23 commits into from
Apr 20, 2021

Commits on Mar 28, 2021

  1. Implement a method to pass unilateral responses while IDLE.

    While IDLE, the server sends unilateral responses to notify the client of
    changes to the mailbox as they happen. Instead of always exiting the IDLE
    on any change, allow the caller to pass a callback function which receives
    the messages and returns an action to either Continue IDLE or Stop and exit.
    
    For clients wishing to use the previous behaviour, a callback_stop convenience
    function is provided that terminates the IDLE on any change to the mailbox.
    mordak committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    529401a View commit details
    Browse the repository at this point in the history
  2. Add IDLE example.

    mordak committed Mar 28, 2021
    Configuration menu
    Copy the full SHA
    2874bfd View commit details
    Browse the repository at this point in the history

Commits on Apr 5, 2021

  1. Update src/extensions/idle.rs

    Co-authored-by: Jon Gjengset <jon@thesquareplanet.com>
    mordak and jonhoo authored Apr 5, 2021
    Configuration menu
    Copy the full SHA
    c9b7c0a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5e3f087 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bbff7d4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb38142 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    e8a7c91 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b8bd1e4 View commit details
    Browse the repository at this point in the history
  7. Add helper function to transform a vec of flag strings into a vec of …

    …Flags.
    
    Also use it where we were previously iterating manually.
    mordak committed Apr 5, 2021
    Configuration menu
    Copy the full SHA
    e1db863 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    064c2e0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ff39ebf View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2021

  1. Improve documentation around unhandled responses.

    UnsolicitedResponse is not exhaustive, and open an issue if you find one
    that isn't handled.
    mordak committed Apr 7, 2021
    Configuration menu
    Copy the full SHA
    9126d3c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    11adcfc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5942553 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7eb2cfd View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2021

  1. Configuration menu
    Copy the full SHA
    efa02f0 View commit details
    Browse the repository at this point in the history
  2. Do not wrap AttributeValue.

    mordak committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    f2d7919 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    584c954 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    692dcdd View commit details
    Browse the repository at this point in the history
  5. wait to wait_while

    mordak committed Apr 8, 2021
    Configuration menu
    Copy the full SHA
    4232c77 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. Move debug assertion.

    mordak committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    08de336 View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2021

  1. Configuration menu
    Copy the full SHA
    1cabb3b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    48db461 View commit details
    Browse the repository at this point in the history