Function ::exo::rpc_env

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

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

Example:

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