Amqpx.Channel (amqpx v6.1.1)
Functions to operate on Channels.
Summary
Types
@type t() :: %Amqpx.Channel{conn: Amqpx.Connection.t(), pid: pid()}
Functions
@spec close(t()) :: :ok | {:error, Amqpx.Basic.error()}
Closes an open Channel.
@spec open(Amqpx.Connection.t()) :: {:ok, t()} | {:error, any()}
Opens a new Channel in a previously opened Connection.
@spec open(Amqpx.Connection.t(), pid()) :: {:ok, t()} | {:error, any()}