We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've noticed that Deno process never ends on this code
const te = new TextEncoder(); for (const file of files) { Deno.stdout.write(te.encode(file + "\n")); } console.log("end"); // never reaches
Where files is a very long list of file paths from my PC.
files
The text was updated successfully, but these errors were encountered:
I think the write method is async. Can you try await'ing on each write? Might give the event loop a chance to breathe.
write
await
Sorry, something went wrong.
As stated above, write is async and doesn't do well with a flood of requests all at once. Either await the write or switch to writeSync.
writeSync
No branches or pull requests
I've noticed that Deno process never ends on this code
Where
files
is a very long list of file paths from my PC.The text was updated successfully, but these errors were encountered: