Skip to main content

transfer_upload_many

Function transfer_upload_many 

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

Bulk-enqueue multiple uploads.

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