Skip to content

Commit

Permalink
[BREAKING CHANGE] Make subscribe_loop private
Browse files Browse the repository at this point in the history
This function looks like a private one that was published by mistake
  • Loading branch information
emancu committed Dec 29, 2024
1 parent 1d0c3da commit 8a0af58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/absinthe/plug.ex
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ defmodule Absinthe.Plug do
|> subscribe_loop(topic, config)
end

def subscribe_loop(conn, topic, config) do
defp subscribe_loop(conn, topic, config) do
receive do
%{event: "subscription:data", payload: %{result: result}} ->
case chunk(conn, encode_chunk!(result, config)) do
Expand Down

0 comments on commit 8a0af58

Please sign in to comment.