Add way of creating a rpc::Client
without performing a health check
#168
Labels
enhancement
New feature or request
rpc::Client
without performing a health check
#168
In the
ibc-rs
crate, we need to create arpc::Client
in a non-async context in order to store it for later use within a struct, and havingrpc::Client::new
perform an async health check on creation makes this impossible without spawning an executor, and executing the task returned bynew
.I would suggest renaming the existing method to
new_healthy
and adding a plainnew
method which does not perform a health check.The text was updated successfully, but these errors were encountered: