AmqpDirector.PullClient (amqp_director v1.6.0) View Source

The AMQP RPC pull client.

The pull client is meant to be used for pulling information over AMQP using :'basic.get'. See AmqpDirector.pull_client_child_spec/3 for details on how to start the client.

Link to this section Summary

Functions

Query the queue for data.

Link to this section Functions

Specs

pull(client :: atom() | pid(), queue :: String.t()) :: {:ok, binary()} | :empty

Query the queue for data.

Sends a request to pull data from the queue. Returns :empty if no data is present.