> Wow, as the maker of Fidget, that is pretty cool.

Thanks! Fidget is awesome.

> I would probably not do it through the async system but its cool that you got 
> that to work. I would probably just have a progress variable and call 
> refresh() when some thing happens. But it's neat that you got this to work.

That's essentially what the async animation code does. The UI code itself 
doesn't do async calls or awaits.

Instead it just creates a new future which runs in the "background". I didn't 
know it was possible to use async's that way. It works since Fidget calls 
`poll()` already. Neat!

The only alternative non-async approach I can see to trigger "things" would be 
to have Fidget run refresh loops at a fixed rate (e.g. 60 Hz). Maybe only 
between an animation "start" and "stop". You'd still need one shot timers, user 
events, etc. 

Reply via email to