Skip to content

peschu123/example_async_tokio_indicatif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

example_async_tokio_indicatif

Since async can be a bit confusing at the beginning, I made a little example to visualize async behavior with indicatif multi progress. Lots of comments (maybe too much?!) so that everybody can understand whats going on.

This is for beginners (like me) in rust/programming. :-)

It uses mainly indicatif (multi) progress bar and tokio JoinSet + spawn.

asciicast

Based on these examples:

indicatif examples/multi.rs

indicatif examples/tokio.rs

tokio JoinSet

Thanks to alice for helping me with JoinSet

https://users.rust-lang.org/t/limited-concurrency-for-future-execution-tokio/87171/7

About

A little example to visualize async behavior with indicatif multi progress. With lots of comments so that everybody understands whats going on.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages