rustasync / runtime

Empowering everyone to build asynchronous software
https://docs.rs/runtime
Apache License 2.0
862 stars 28 forks source link

Infinite loop best practise? #48

Closed serzhiio closed 4 years ago

serzhiio commented 5 years ago

What is the best practise for infinite interval loops? And how to combine interval loop with event like Interval.join(Event)?

yoshuawuyts commented 5 years ago

@serzhiio I'm not sure I'm following. Do you perhaps have a code example of what you're trying to do?