launch

Attribute Macro launch 

Source
#[launch]
Expand description

The [launch] attribute marks the async function that builds a Yooso application and turns it into the program entry point.

ยงExample

use yooso::Yooso;

#[yooso::launch]
async fn yooso() -> Yooso {
    Yooso::build().await
}