Function leptos_server::create_server_multi_action
source · pub fn create_server_multi_action<S>() -> MultiAction<S, Result<S::Output, ServerFnError<S::Error>>>
Expand description
Creates a MultiAction that can be used to call a server function.
ⓘ
#[server(MyServerFn)]
async fn my_server_fn() -> Result<(), ServerFnError> {
todo!()
}
let my_server_multi_action = create_server_multi_action::<MyServerFn>();