Because of the way we add the dialing status to a stream state (via the add_stream/3) and don't ever set the value of that state map directly, we never actually have a state of dialing. The only possible states are undefined, {unverified, dialing}, {unverified, pid()}, or pid().
Because of the way we add the
dialing
status to a stream state (via theadd_stream/3
) and don't ever set the value of that state map directly, we never actually have a state ofdialing
. The only possible states areundefined
,{unverified, dialing}
,{unverified, pid()}
, orpid()
.