Poll a RegCheck task until it completes
Usage
.regcheck_poll(url, api_token, task_id, poll_interval = 5, timeout = 3600)
Arguments
- url
base URL (no trailing slash)
- api_token
the RegCheck API token
- task_id
the task to poll
- poll_interval
seconds between polls
- timeout
maximum seconds to wait
Value
the task result (list with an items element)