Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not supporting async functions in JavaScipt #25

Closed
CharlesElloit opened this issue Apr 12, 2021 · 2 comments
Closed

Not supporting async functions in JavaScipt #25

CharlesElloit opened this issue Apr 12, 2021 · 2 comments
Labels
caucus-server invalid This doesn't seem right

Comments

@CharlesElloit
Copy link

CharlesElloit commented Apr 12, 2021

The bug is, it doesn't support async arrow function or normal async function in JavaScript.
It automatically throws an error after running the function.

@Rishabh-malhotraa
Copy link
Owner

Rishabh-malhotraa commented Apr 13, 2021

@CharlesElloit thank you for pointing it out, this would be fixed in the next release PATCH 1.03, I'm a bit busy these days but basically, we need to migrate code execution from JDOODLE to the piston and that should take care of that, it would also add more languages for code execution like rust c swift etc..

Duplicate of #20

@Rishabh-malhotraa
Copy link
Owner

async functions aren't supported by remote code execution engine, because the engine automatically destroys its docker instance after 2 seconds of runtime, so if the async function is not returned in 2 seconds it would not work.

@Rishabh-malhotraa Rishabh-malhotraa added the invalid This doesn't seem right label Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
caucus-server invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants