Phoenix.SocketClient.Channel.State (phoenix_socket_client v0.8.4)

Copy Markdown View Source

State structure for Phoenix Socket Client channel processes.

Maintains the state of individual channel connections including topic, params, pending pushes, and registered hooks.

Summary

Types

t()

@type t() :: %Phoenix.SocketClient.Channel.State{
  caller: pid() | nil,
  hooks: map(),
  join_ref: String.t() | nil,
  join_start_time: integer() | nil,
  leave_start_time: integer() | nil,
  params: map(),
  pushes: list(),
  registry_name: atom(),
  socket_pid: pid(),
  sup_pid: pid(),
  topic: String.t()
}