Skip to main content

## resume_download

# Function resume_download

Source

    pub async fn resume_download(
        app: AppHandle,
        db: State<'_, DatabaseWrapper>,
        download_manager: State<'_, DownloadManagerWrapper>,
        download_id: i64,
    ) -> Result<(), String>

Expand description

Resume a paused download.

Flipping the row back to `pending` is likewise not enough on its own: the pump is not a poller, it runs when something calls it, so a resumed download sat untouched until some unrelated event happened to pump the queue. That is the other half of “resume does not work”.

TRACES: UR-055 | DR-168