Current section
Files
Jump to
Current section
Files
lib/phoenix/socket_client/channel/state.ex
defmodule Phoenix.SocketClient.Channel.State do
@type t :: %__MODULE__{
caller: pid() | nil,
sup_pid: pid(),
socket_pid: pid(),
topic: String.t(),
params: map(),
pushes: list(),
join_ref: String.t() | nil,
hooks: map(),
registry_name: atom()
}
defstruct caller: nil,
sup_pid: nil,
socket_pid: nil,
topic: nil,
params: %{},
pushes: [],
join_ref: nil,
hooks: %{},
registry_name: nil,
join_start_time: nil,
leave_start_time: nil
end