Function ::exo::rpc_model

Overview
async fn rpc_model(value: String, value1) -> Result

Execute a service belonging to a model. This call errors if the servcice in the model is not available.

Example:

// Call service "rpc_test" which adds and multiplies the numbers 1 and 1
let res = exo::rpc_model("rpc_test", [1, 1]).await?;
assert_eq!([2, 1], res);