Learning async + await in Rust | Rust Language

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2024
  • Join me as I experiment with some non deterministic code using Async and Await in Rust.
    futures do nothing unless you `.await` or poll them"
    The code doesn’t wait for the tokio::task to complete, so no guarantee that part will run!
    Futures are single eventual values produced by asynchronous computations.
    Some programming languages (e.g. JavaScript) call this concept “promise”.
    🟩 docs.rs/future...
    The book that I refer to is "Code Like a Pro in Rust" - by Manning Press
    🟩 www.manning.co...
    🟩 Rust Playground example :
    play.rust-lang...
    Linux Hosting - VPS server - Webdock
    ----------------------------------------------------------------
    🟩 Webdock Linux Hosting : webdock.io/en?...
    #rustlang #rustcode #understanding

ความคิดเห็น •