Description Usage Arguments Value
run_taskschedules batch jobs and put them to a running list
handler_unpack_taskunpack a request and convert to a task
handler_query_taskobtain task status on the server
handler_validate_serverhandles validation request
handler_validate_autha layer that handles authentication
1 2 3 4 5 6 7 8 9 | run_task(task, userid)
handler_unpack_task(req)
handler_query_task(userid, status = "valid")
handler_validate_server(req)
handler_validate_auth(req, res)
|
task |
a task instance |
userid |
which user submits the task |
req, res |
web request/response variables (see |
status |
task status to filter/query; choices are |
run_task returns a named list with:
tasktask object created by internal new_task function
userida 32-character string of user's ID
futurea future object that schedules jobs asynchronously
.
handler_unpack_task, handler_query_task return task instances
created by the internal new_task function. Others return lists or
res that will be processed by the 'plumber' package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.