#[server]
#[server] — exposes an async fn as a server action callable from actions::name(...) in the browser.
actions::name(...)