Closed
Description
In the service_server.rs
example, I've noticed that there is:
let _handle = client
.advertise_service::<std_srvs::SetBool>("/my_set_bool", my_service)
.await?;
and my_service
is a simple fn
here, but many services are often going to require async/await type functions to run within the function. Is there plan to support async fn here?
If not, I'm happy to look into creating a PR to add support for this especially because I'd like to use async functions within my service callback that I pass in.