Hi Jaak,
> However, if the connection hangs and no progress is made, is control
> ever passed to the status reporters (before timing out)?
No, not before timing out. The purpose of the terminate() method is to cancel a
healthy running install. I don't know of a safe way to stop ftplib or libcur
Thank you, Troy! You wrote in the comment:
/** Request nicely to terminate an ongoing transfer.
* If threading is a concern, consider calling terminate() from your
status reporters
* as they are typically the link between the transfer thread and
your UI.
*/
However, if the conn
Hi Tobias,
Yes, you can let your users cancel an install by calling the
InstallMgr::terminate() method. I have just now commented this method
better so its purpose is more clear. My apologies, Jaak, for not having
this commented better for you.
Troy
On 8/8/20 9:30 AM, Tobias Klein wrote:
On 8/8/20 10:54 AM, Jaak Ristioja wrote:
On 08.08.20 10:30, Tobias Klein wrote:
Is there a way to abort a module installation via the SWORD API?
I saw in InstallMgr::installModule that there is some handling for when
the user aborted the process. But it doesn't seem like this is
controlled via t
On 08.08.20 10:30, Tobias Klein wrote:
> Is there a way to abort a module installation via the SWORD API?
> I saw in InstallMgr::installModule that there is some handling for when
> the user aborted the process. But it doesn't seem like this is
> controlled via the API.
"Yes" - see the bool term m
Hi,
Is there a way to abort a module installation via the SWORD API?
I saw in InstallMgr::installModule that there is some handling for when
the user aborted the process. But it doesn't seem like this is
controlled via the API.
One typical use case would be that the user's download speed is