You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There is no clear way to use async native functions. The only thing that happens right now it that it hangs. If you run https://github.com/SurferTank/boats_async_fn you will see an example.
Describe the bug
There is no clear way to use async native functions. The only thing that happens right now it that it hangs. If you run https://github.com/SurferTank/boats_async_fn you will see an example.
I see we need to provide a job queue executor, but no examples are available except for https://github.com/boa-dev/boa/blob/90048f2eff99c5699a9ba3d6e4ecb10f05e79105/boa_examples/src/bin/futures.rs but it describes how to use smog. Could we have a similar example using tokio too?
To Reproduce
Steps to reproduce the issue, or JavaScript code that causes this failure.
git clone https://github.com/SurferTank/boats_async_fn;
cd boats_async_fn
cargo r
Expected behavior
the code should run without a hang.
Build environment (please complete the following information):
The text was updated successfully, but these errors were encountered: