nerves_hub_link v0.8.0 NervesHubLink.DeviceChannel.State

Link to this section Summary

Link to this section Types

Specs

status() ::
  :idle
  | :fwup_error
  | :update_failed
  | :update_rescheduled
  | {:updating, integer()}
  | :unknown

Specs

t() :: %NervesHubLink.DeviceChannel.State{
  channel: pid(),
  connected?: boolean(),
  params: map(),
  socket: pid(),
  status: status(),
  topic: String.t()
}