Open code-cro opened 2 years ago
In the example for client from where do you pull gen_client::Client?
let (client, server) = local::connect::<gen_client::Client, _, _>(io);
It's generated by #[rpc]
#[rpc]
@Aloxaf and i have problem in the example use extend to get delegate function in rpc implement. but if i just just need rpc client, why not get function delegate from rpc trait directly?
In the example for client from where do you pull gen_client::Client?