Requiem.ConnectionState (requiem v0.4.0)

Link to this section Summary

Link to this section Types

Specs

t() :: %Requiem.ConnectionState{
  address: Requiem.Address.t(),
  dcid: binary(),
  odcid: binary(),
  scid: binary(),
  stream_id_pod: non_neg_integer(),
  trapping_pids: MapSet.t()
}

Link to this section Functions

Link to this function

create_new_stream_id(conn, atom)

Specs

create_new_stream_id(t(), :bidi | :uni) :: {non_neg_integer(), t()}
Link to this function

forget_to_trap_exit(conn, pid)

Specs

forget_to_trap_exit(t(), pid()) :: t()
Link to this function

new(address, dcid, scid, odcid)

Link to this function

should_delegate_exit?(conn, pid)

Specs

should_delegate_exit?(t(), pid()) :: boolean()
Link to this function

trap_exit(conn, pid)

Specs

trap_exit(t(), pid()) :: t()