I've noticed that under the hood, rustyscript is using tokio runtimes in order to execute the js code. Seeing as under the hood, a lot of async stuff is happening already, it would be pretty awesome if there was an async api exposed that we could use, for example:
let result = runtime.call_entrypoint_async::<Value>(&module_handle, json_args!()).await?;
I've noticed that under the hood, rustyscript is using tokio runtimes in order to execute the js code. Seeing as under the hood, a lot of async stuff is happening already, it would be pretty awesome if there was an async api exposed that we could use, for example:
Thanks for considering :)