Vibe.d download function, how to get callback when done or error?

Elias desisma at heidel.beer
Sat Sep 23 15:09:13 UTC 2023


On Saturday, 23 September 2023 at 12:07:38 UTC, Joe wrote:
> I'm using download(url, filename) to download files in vibe.d.
>
> The issue is that I do not know when the download is finished 
> or errors. There is a callback for the streaming side but not 
> for the file download.

You don’t need a callback for that. It’s done when the download() 
returns.


More information about the Digitalmars-d-learn mailing list