Amqpx.Channel (amqpx v6.0.1)
Functions to operate on Channels.
Link to this section Summary
Link to this section Types
@type t() :: %Amqpx.Channel{conn: Amqpx.Connection.t(), pid: pid()}
Link to this section Functions
Link to this function
close(channel)
@spec close(t()) :: :ok | {:error, Amqpx.Basic.error()}
Closes an open Channel.
Link to this function
open(conn)
@spec 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)
@spec open(Amqpx.Connection.t(), pid()) :: {:ok, t()} | {:error, any()}