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'd like to write this:
res = naive_run_receive_loop(Resp.new!(p, []), command, timeout) try do Port.close(p) rescue _ -> :ok end res
as
naive_run_receive_loop(Resp.new!(p, []), command, timeout) <* close(p) # ... defp close(p) do try do Port.close(p) rescue _ -> :ok end end
But I can't find the necessary operator. Am I missing something or it's currently impossible?
The text was updated successfully, but these errors were encountered:
In case anyone needs a simple abstraction for this stuff and similar stuff, I have it in DynHacks.
DynHacks
Sorry, something went wrong.
No branches or pull requests
I'd like to write this:
as
But I can't find the necessary operator. Am I missing something or it's currently impossible?
The text was updated successfully, but these errors were encountered: