rrq_message_get_response | R Documentation |
Get response to messages, waiting until the message has been responded to.
rrq_message_get_response(
message_id,
worker_ids = NULL,
named = TRUE,
delete = FALSE,
timeout = 0,
time_poll = 0.5,
progress = NULL,
controller = NULL
)
message_id |
The message id |
worker_ids |
Optional vector of worker ids. If |
named |
Logical, indicating if the return value should be named by worker id. |
delete |
Logical, indicating if messages should be deleted after retrieval |
timeout |
Integer, representing seconds to wait until the response has been received. An error will be thrown if a response has not been received in this time. |
time_poll |
If |
progress |
Optional logical indicating if a progress bar
should be displayed. If |
controller |
The controller to use. If not given (or |
obj <- rrq_controller("rrq:example")
id <- rrq_message_send("PING", controller = obj)
rrq_message_get_response(id, timeout = 5, controller = obj)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.