Sometimes you have to manage multiple timer ticks to execute actions in your program. A solution would be to spawn a task for every interval you need and await a interval future. Maybe you have seen the tokio::select! marco. Use it to poll many futures to do their work. This makes it possible for us …