Skip to content

Commit

Permalink
fix: stream example
Browse files Browse the repository at this point in the history
  • Loading branch information
tlux committed Mar 29, 2024
1 parent 88e3407 commit 561ca3e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion examples/stream.exs
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,8 @@ defmodule QueryLoop do
end
end

QueryLoop.query(socket)
Task.start_link(fn ->
QueryLoop.query(socket)
end)

Process.sleep(15000)

0 comments on commit 561ca3e

Please sign in to comment.