We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use the following code to match Finch's asynchronous response:
@impl true def handle_info({{pool, pid}, resp}, state) when pool in [Finch.HTTP1.Pool, Finch.HTTP2.Pool] and is_pid(pid) do # todo... end
However, since request_ref is opaque, there is no guarantee that this guard will always be reliable.
request_ref
Could Finch provide a is_request_ref guard? After all, the structure of request_ref is usually only known to the maintainer.
is_request_ref
The text was updated successfully, but these errors were encountered:
That sounds like a good idea to me. Please submit a PR!
Sorry, something went wrong.
No branches or pull requests
I use the following code to match Finch's asynchronous response:
However, since
request_ref
is opaque, there is no guarantee that this guard will always be reliable.Could Finch provide a
is_request_ref
guard? After all, the structure ofrequest_ref
is usually only known to the maintainer.The text was updated successfully, but these errors were encountered: