pub fn call<T: ArgumentEncoder, R: for<'a> ArgumentDecoder<'a>>(
id: Principal,
method: &str,
args: T
) -> impl Future<Output = CallResult<R>>
Expand description
Performs an asynchronous call to another canister via ic0.
pub fn call<T: ArgumentEncoder, R: for<'a> ArgumentDecoder<'a>>(
id: Principal,
method: &str,
args: T
) -> impl Future<Output = CallResult<R>>
Performs an asynchronous call to another canister via ic0.