Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Coroutines package for U++
Re: Coroutines package for U++ [message #59297 is a reply to message #59293] Mon, 12 December 2022 21:38 Go to previous message
zsolt is currently offline  zsolt
Messages: 698
Registered: December 2005
Location: Budapest, Hungary
Contributor
Thanks, Oblivion. I have started to get the idea behind these concepts, checking your code.

I was thinking about if it could be possible to implement something so simple as Javascript's async/await.
But I concluded the same as you.

Maybe it could be done by combining your coroutine with your AsyncWork and a timer infrastructure calling coroutines until their finished state, but too much work compared to using AsyncWork and showing a progress or using SetTimeCallback() to update the window periodically.

[Updated on: Mon, 12 December 2022 21:38]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Possible enhancement on UppHub
Next Topic: Links in UppHub
Goto Forum:
  


Current Time: Thu May 16 10:43:07 CEST 2024

Total time taken to generate the page: 0.03103 seconds