doPoll
Poll a URL every five seconds. The default timeout is five minutes.
| Parameter | Required | Type | Description |
|---|---|---|---|
| url | Yes | String | Pass the URL you want to poll. |
| ctx | No | Ctx | Context, such as authorization token requirements, namespaces, or session storage. |
| options | No | Object | Add headers and poll parameters. For more information, see the following examples: options.headers = {}, options.maxPoll= 60, options.pollMilliSecs = 5000 |
Returns
Promise -