Skip to main content

enqueue_download

Function enqueue_download 

Source
async fn enqueue_download(
    profile_id: ProfileId,
    bucket: BucketId,
    key: String,
    dest_path: PathBuf,
    queue: &TransferQueueHandle,
    client: Arc<Client>,
    lock_registry: Arc<LockRegistry>,
    log: NotificationLogHandle,
    settings: SettingsHandle,
    channel: AppHandle,
) -> Result<String, AppError>
Expand description

Register and spawn a download task. Returns the new request_id.