Constructs an RpcBackend with the given routing key and options. Queues up connection, creation, queue assertion, and consumer handling.
The name of the queue to consume from.
Connection options for the RabbitMQ connections. If
undefined
, will connect to localhost:6379.
The UUID of the task whose result is to be deleted.
"deleted" | "no result found".
Gently closes all channels and the connection with RabbitMQ. Alias for #end.
A Promise
that resolves when the disconnection is complete.
Gently closes all channels and the connection with RabbitMQ.
A Promise
that resolves when the disconnection is complete.
Uses Utility.createTimeoutPromise
.
The result as fetched from RabbitMQ.
The message to queue.
The response from RabbitMQ.
TODO: Actually return the connected RabbitMQ node's URI.
Nothing.
Generated using TypeDoc
RabbitMQ result backend using RPC and one queue per client.