Quantcast
Viewing all articles
Browse latest Browse all 4845

New Post: Cancellation token in http_client request

Wow, that's a pretty serious feature that right now I'm really wishing was implemented. I'm already pretty far into this project.

When the server goes missing for whatever reason, I have to wait for the 30 second time out. If my plugin gets unloaded, my no-longer-loaded lambda gets called after the timeout and crashes the application. I don't really have control over when the plugin gets unloaded. The only thing I can do is to keep a list of tasks and hang the UI until they all complete. This is what I'll have to do until I can cancel pending tasks.

What's the ETA on this?

Viewing all articles
Browse latest Browse all 4845

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>