Closed
Description
I was browsing through the bulljs reference docs, and found that every job has job.finished()
which returns a promise that resolves when the job has finished
https://github.com/OptimalBits/bull/blob/develop/REFERENCE.md#jobfinished
So technically, we do not need the internal map logic in code-executor which maintains maps from job IDs to promises, as bulljs already does this internally.
code-executor/src/CodeExecutor.ts
Lines 15 to 39 in b69766f