- Source:
Members
_downloader :Downloader
The object providing actual downloading functionality.
Type:
- Source:
Methods
_getDownloadable(subscription, manual) → {Downloadable}
Creates a Downloadable instance for a subscription.
Parameters:
Name | Type | Description |
---|---|---|
subscription |
Subscription | |
manual |
boolean |
- Source:
Returns:
- Type
- Downloadable
(generator) _getDownloadables() → {Downloadable}
Yields Downloadable instances for all subscriptions that can be
downloaded.
- Source:
Yields:
- Type
- Downloadable
execute(subscription, manual)
Starts the download of a subscription.
Parameters:
Name | Type | Description |
---|---|---|
subscription |
DownloadableSubscription | Subscription to be downloaded |
manual |
boolean | true for a manually started download (should not trigger
fallback requests) |
- Source:
isExecuting(url) → {boolean}
Checks whether a subscription is currently being downloaded.
Parameters:
Name | Type | Description |
---|---|---|
url |
string | URL of the subscription |
- Source:
Returns:
- Type
- boolean