Skip to content

Commit

Permalink
Update lib/phoenix_live_view/async_result.ex
Browse files Browse the repository at this point in the history
Co-authored-by: José Valim <[email protected]>
  • Loading branch information
chrismccord and josevalim authored Aug 23, 2023
1 parent 844e08a commit 9ae5081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phoenix_live_view/async_result.ex
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ defmodule Phoenix.LiveView.AsyncResult do
acc,
fun
) do
do_reduce(result, acc, fun)
Enumerable.reduce(result, acc, fun)
end

def reduce(%AsyncResult{}, {_, acc}, _fun), do: {:done, acc}
Expand Down

0 comments on commit 9ae5081

Please sign in to comment.