.estimatePollPeriod {onc.api}R Documentation

Sets a poll period adequate to the estimated processing time Longer processing times require longer poll periods to avoid going over maxRetries

Description

Sets a poll period adequate to the estimated processing time Longer processing times require longer poll periods to avoid going over maxRetries

Usage

.estimatePollPeriod(self, response)

Arguments

self

Calling object

response

Response obtained in .requestDataProduct() for the DP request

Value

(numeric) suggested time between server polls (seconds)


[Package onc.api version 2.0.1.0 Index]