Closed Pistacchione closed 5 years ago
Hi,
is it possible to use async function for queue.process like this:
async
queue.process
queue.process('test', 5, async (job, done) => { try { const result = await someAsyncFunction(job.data) done() } catch (err) { done(err) } })
Thanks Matteo
I have tested async/await processes and they seem to work properly.
Thanks
How did you solve that?
Like the code snippet in my first question
Hi,
is it possible to use
async
function forqueue.process
like this:Thanks Matteo