Skip to content

Commit 8ea015b

Browse files
Update queues.md
Hi, Hope you're doing good. Just a simple 'await' where it's needed. :)
1 parent 5a06e1e commit 8ea015b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/techniques/queues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class AudioConsumer {
223223
for (i = 0; i < 100; i++) {
224224
await doSomething(job.data);
225225
progress += 10;
226-
job.progress(progress);
226+
await job.progress(progress);
227227
}
228228
return {};
229229
}

0 commit comments

Comments
 (0)