Before we start, I hope you already know how to create a new rust project, add some dependencies and other basic stuff. If not, I recommend to read the Book first :) OK, lets go! In Rust to run code asynchronously you should start the block or functi...

Markdown supported · ⌘↵ to post
Thanks for your reply! I`ve updated the article
gatewaynode
Arch, Sec, Dev, Ops,
Nice little example. Might want to be a bit more explicit in the write up what the imports are as you add them in:
use tokio; use std::time::Duration; use futures;