Skip to main content

transfer_download_many

Function transfer_download_many 

Source
pub async fn transfer_download_many(
    specs: Vec<TransferDownloadSpec>,
    queue: State<'_, TransferQueueHandle>,
    pool: State<'_, S3ClientPoolHandle>,
    locks: State<'_, LockRegistryHandle>,
    store: State<'_, ProfileStoreHandle>,
    log: State<'_, NotificationLogHandle>,
    settings: State<'_, SettingsHandle>,
    channel: AppHandle,
) -> Result<Vec<String>, AppError>
Expand description

Bulk-enqueue multiple downloads.

Returns a Vec<String> of request IDs in the same order as specs.