subscribex v0.8.0-rc.1 Subscribex

Summary

Types

callback_return :: term
channel :: %AMQP.Channel{conn: term, pid: term}
delivery_tag :: term
monitor :: reference

Functions

ack(channel, delivery_tag)

See AMQP.Basic.ack/2.

channel(link)

Specs

channel(:link | :no_link | :monitor | (... -> any)) ::
  %AMQP.Channel{conn: term, pid: term} |
  {%AMQP.Channel{conn: term, pid: term}, monitor} |
  any
channel(callback, args \\ [])

Specs

channel(callback, [term]) :: callback_return
channel(module, function, args)

Specs

channel(module, atom, [any]) :: any
close(channel)

See AMQP.Channel.close/1.

publish(channel, exchange, routing_key, payload)

See AMQP.Basic.publish/4.

reject(channel, delivery_tag, options)

See AMQP.Basic.reject/3.