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

Support for Async Javascript Execution #455

Open
rajnish07 opened this issue Feb 19, 2024 · 1 comment
Open

Support for Async Javascript Execution #455

rajnish07 opened this issue Feb 19, 2024 · 1 comment

Comments

@rajnish07
Copy link

Javascript submission returns the result as a whole which works fine for all other languages. Though, we get the correct output.

Language : JavaScript (Node.js 12.14.0)

For example if we run few timeouts it runs all of them on the server first and then returns the result. But if we could get the partial results like

Sample Code

console.log("Start!")
setTimeout(() => console.log("End!"), 3000)
console.log("running!")

How it works now

After 3 seconds, it returns

Start!
running!
End!

How it should work

Start!
running!

and after 3 seconds
End!

@farrukh-taqveem-carv
Copy link

You are asking for Response Streaming?

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

2 participants