legendary-doc-site/apps/app/priv/templates/phx.gen.presence/presence.ex

11 lines
341 B
Elixir
Raw Normal View History

2020-07-29 17:07:36 +00:00
defmodule <%= module %> do
@moduledoc """
Provides presence tracking to channels and processes.
See the [`Phoenix.Presence`](http://hexdocs.pm/phoenix/Phoenix.Presence.html)
docs for more details.
"""
use Phoenix.Presence, otp_app: <%= inspect otp_app %>,
pubsub_server: <%= inspect pubsub_server %>
end