diff --git a/lib/phoenix_live_view/async_result.ex b/lib/phoenix_live_view/async_result.ex index ee70dde326..be2f5206c0 100644 --- a/lib/phoenix_live_view/async_result.ex +++ b/lib/phoenix_live_view/async_result.ex @@ -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}