mrwormhole / gobadge

Custom TinyGo powered badge :battery:
GNU General Public License v2.0
0 stars 0 forks source link

problem with tinygo goroutines in settings menu #2

Open mrwormhole opened 1 year ago

mrwormhole commented 1 year ago

when I don't set time.Sleep() , launched goroutines block forever and don't let other goroutines to continue, the workaround is to put time.Sleep() for launched goroutines but this comes at a cost of glitchy / buggy animations. I wonder if I can solve this in a better way. Tinygo implementations of goroutines seem to differ a lot from what I knew

mrwormhole commented 1 year ago

seems to be not resolvable, tinygo goroutines are not managed by OS so there is some itchiness at hardware level