[][src]Attribute Macro kayrx::main

#[main]

Enables an async main function.

Examples

This example is not tested
#[kayrx::main]
async fn main() -> std::io::Result<()> {
    Ok(())
}