Skip to main content

call

Function call 

Source
pub async fn call(app: &App, name: &str, options: Options) -> Result<String>
Expand description

Run one of the app’s functions and return its JSON result.

The error is the function’s own message, or the reason it couldn’t be run.