Attribute Macro parallel_call_method

Source
#[parallel_call_method]
Expand description

Mark parallel call method

This attribute used for call the contract method, while the called method has parallel info.

use fvm_macros::parallel_call_method;
use fvm_macros::parallel_field;

#[parallel_field(field_name="key1")]
#[parallel_call_method(methods="method2")]
fn method1(){
    method2();
}

#[parallel_field(field_name="key")]
fn method2(){}