polling_request: polling_request

Description Usage Arguments Value

View source: R/requests.R

Description

Polling endpoint for urls to fetch completed work from bema

Usage

1
2
polling_request(endpoint_url, task_id, tries = 10,
  polling_interval = 1)

Arguments

endpoint_url

the endpoint to fetch results

task_id

task_id string.

tries

the number of GET requests to send before giving up

polling_interval

the timeout interval between requests

Value

parsed result or failure


cunybpl/bplclientR documentation built on July 9, 2019, 6 p.m.