U++ framework
Do not panic. Ask here before giving up.

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: 704
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: Fri Jun 12 10:48:54 GMT+2 2026

Total time taken to generate the page: 0.00605 seconds