Co-cor co. oh three

/// An asynchronous function that completes quickly.

async fn quick_task() -> Result<&'static str> {

println!("START coding.");

await!(delay(10)).context("delay failed")?;

println!("END the world.");

Ok("quick_task result")

}

atomicvibe design lab
The fusion of art and science.
Get in touch

More by atomicvibe design lab

View profile