We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 180e379 commit 757dc52Copy full SHA for 757dc52
lib/phoenix/sync/client.ex
@@ -106,13 +106,6 @@ defmodule Phoenix.Sync.Client do
106
columns: ["id", "title"]
107
)
108
109
- # consumer a pre-defined shape from a remote server, e.g.
110
- # one defined using `Phoenix.Sync.Controller.sync_render/3` or
111
- # `Phoenix.Sync.Router.sync/2`.
112
- stream = Phoenix.Sync.Client.stream(
113
- "https://myapp.com/sync/todos?user_id=1234"
114
- )
115
-
116
# once you have a stream, consume it as usual
117
Enum.each(stream, &IO.inspect/1)
118
0 commit comments