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
Hi there, I have an issue, I want to wait for the queue and tested it with await and I wanted to log the result but it logs before the await.
let result = await cluster.queue('https://www.cpu-monkey.com/de/cpu_benchmark-cinebench_2024_single_core', doSomething) console.log(result)
the function is a async function with a return. The function has many lines that's why I'm not posting it here, logging the return data like:
return
async function doSomething(){ let data = await somethingThatReturnsText() console.log(data) return data }
So what I want to do, is I want to merge the data and push it to a database.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there,
I have an issue, I want to wait for the queue and tested it with await and I wanted to log the result but it logs before the await.
the function is a async function with a
return
. The function has many lines that's why I'm not posting it here, logging the return data like:So what I want to do, is I want to merge the data and push it to a database.
The text was updated successfully, but these errors were encountered: