❔ ✅ Baffled by Async-Await and Task
I'm trying to create a non-UI blocking Unzipper helper class that reports progress. I've tried to take on async/await + tasks so many times, but always come a cropper. I can manage Async/await with .net async methods (e.g. webClient.DownloadFileAsync, but the problem comes with sychronous key methods. Anyways, here's the helper class:
https://paste.mod.gg/xklfwuocvtgm/0
and it's called, thus:
I've done no end of reading - just conceptually this is illuding me. What am I missing - based on this code?
https://paste.mod.gg/xklfwuocvtgm/0
and it's called, thus:
I've done no end of reading - just conceptually this is illuding me. What am I missing - based on this code?
A tool for sharing your source code with the world!