Amqpx.Channel (amqpx v5.7.1)

Functions to operate on Channels.

Link to this section Summary

Functions

Closes an open Channel.

Opens a new Channel in a previously opened Connection.

Link to this section Types

Specs

t() :: %Amqpx.Channel{conn: Amqpx.Connection.t(), pid: pid()}

Link to this section Functions

Specs

close(t()) :: :ok | {:error, Amqpx.Basic.error()}

Closes an open Channel.

Specs

open(Amqpx.Connection.t()) :: {:ok, t()} | {:error, any()}

Opens a new Channel in a previously opened Connection.

Link to this function

open(conn, consumer_pid)

Specs

open(Amqpx.Connection.t(), pid()) :: {:ok, t()} | {:error, any()}