View source: R/swf_operations.R
swf_poll_for_activity_task | R Documentation |
Used by workers to get an ActivityTask from the specified activity taskList
. This initiates a long poll, where the service holds the HTTP connection open and responds as soon as a task becomes available. The maximum time the service holds on to the request before responding is 60 seconds. If no task is available within 60 seconds, the poll returns an empty result. An empty result, in this context, means that an ActivityTask is returned, but that the value of taskToken is an empty string. If a task is returned, the worker should use its type to identify and process it correctly.
See https://www.paws-r-sdk.com/docs/swf_poll_for_activity_task/ for full documentation.
swf_poll_for_activity_task(domain, taskList, identity = NULL)
domain |
[required] The name of the domain that contains the task lists being polled. |
taskList |
[required] Specifies the task list to poll for activity tasks. The specified string must not start or end with whitespace. It must not
contain a |
identity |
Identity of the worker making the request, recorded in the
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.