Is it possible to call rust async from python?

I have a crate which uses async fn and async_std::sync::Receiver as public interface as below.

async fn fetch_balance(...) -> Result<Balance>;

fn connect(...) -> Result<Receiver<SubEvent>>;
// use Recever in a loop

Is it possible to call this crate from python, nodejs or other languages which support async feature?

I think it is possible. But I also expect it to be a lot of work as it requires connecting two different runtimes across languages.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.