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

✨ Add #extract_responses method #330

Merged
merged 3 commits into from
Sep 26, 2024
Merged

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    1344a09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8b1193 View commit details
    Browse the repository at this point in the history
  3. ✨ Add #extract_responses method

    This is similar to ActiveSupport's Array#extract!.
    
    Yields all of the unhandled #responses for a single response type.
    Removes and returns the responses for which the block returns a true
    value.
    
    Extracting responses is synchronized with other threads.  The lock is
    released before returning.
    nevans committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    2a7be9e View commit details
    Browse the repository at this point in the history