Skip to content

Commit

Permalink
Delegate LiveView handle_async/3 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
gmile authored Sep 24, 2024
1 parent 07e7f67 commit 4b156b5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/phoenix_playground/router.ex
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ defmodule PhoenixPlayground.Router do
module().handle_info(message, socket)
end

@impl true
def handle_async(message, result, socket) do
module().handle_async(message, result, socket)
end

def module do
Application.fetch_env!(:phoenix_playground, :live)
end
Expand Down

0 comments on commit 4b156b5

Please sign in to comment.