poll_task {connectapi} | R Documentation |
Poll Task
Description
Polls a task, waiting for information about a deployment. If the task has
results, the output will be a modified "Task" object with task$get_data()
available to retrieve the results.
Usage
poll_task(task, wait = 1, callback = message)
Arguments
task |
A Task object |
wait |
The interval to wait between polling |
callback |
A function to be called for each message received. Set to NULL for no callback |
Details
For a simple way to silence messages, set callback = NULL
Value
Task The Task object that was input
See Also
Other deployment functions:
bundle_dir()
,
bundle_path()
,
bundle_static()
,
deploy()
,
download_bundle()
[Package connectapi version 0.2.0 Index]