| Name | Type | Default | Description |
|---|---|---|---|
concurrencyLimit |
number | 4 |
optional
The maximum amount of simultaneous fetch requests. |
Methods
-
Aborts all ongoing and queued fetch requests issued by this
FetchManager.Ongoing requests are only abortable if the environment supports the HTML5 AbortController API.
-
Fetches data from the given URL.
Name Type Description urlstring The URL from where to fetch from.
optionsobject optional Optional options to the HTML5
fetchcommand.Returns:
Type Description Promise The fetch Promise object. -
Fetches data from the given URL. The difference to low.FetchManager.fetch is that the fetch operation is handled priorized by being prepended to the front of the fetch queue.
Name Type Description urlstring The URL from where to fetch from.
optionsobject optional Optional options to the HTML5
fetchcommand.Returns:
Type Description Promise The fetch Promise object.