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

Async functions in sandbox support? #48

Open
0o-de-lally opened this issue May 12, 2016 · 3 comments
Open

Async functions in sandbox support? #48

0o-de-lally opened this issue May 12, 2016 · 3 comments

Comments

@0o-de-lally
Copy link

I'm looking through the docs on async functions.
Are there any configurations which would allow for example setTimeout to work?

I think this would be an issue for Node < 12.0. What Node versions does this library target?

Thanks in advance

@yorickvP
Copy link

Looking at the code, it could work fine (within the timeout), except the output is handled immediately after the user code exits, so there won't be any output in your timeout.

@zsf3
Copy link

zsf3 commented Jan 1, 2020

Any update on this?

@yorickvP
Copy link

yorickvP commented Jan 1, 2020

Adding an await to the runner might work. I don't use this for anything, nor do I have time to make this. Sorry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants