DownloadOptions

external interface DownloadOptions(source)

Properties

Link copied to clipboard
abstract external val concurrentBlobDownloads: Boolean?

Indicates whether to use Actions HttpClient with concurrency for Azure Blob Storage

Link copied to clipboard
abstract external val downloadConcurrency: Number?

Number of parallel downloads (this option only applies when using the Azure SDK)

Link copied to clipboard
abstract external val lookupOnly: Boolean?

Weather to skip downloading the cache entry. If lookupOnly is set to true, the restore function will only check if a matching cache entry exists and return the cache key if it does.

Link copied to clipboard
abstract external val segmentTimeoutInMs: Number?

Time after which a segment download should be aborted if stuck

Link copied to clipboard
abstract external val timeoutInMs: Number?

Maximum time for each download request, in milliseconds (this option only applies when using the Azure SDK)

Link copied to clipboard
abstract external val useAzureSdk: Boolean?

Indicates whether to use the Azure Blob SDK to download caches that are stored on Azure Blob Storage to improve reliability and performance