()
| 5 | let workerUtilsPromise: ReturnType<typeof makeWorkerUtils> | null = null; |
| 6 | |
| 7 | function workerUtils() { |
| 8 | if (!workerUtilsPromise) { |
| 9 | workerUtilsPromise = makeWorkerUtils({ |
| 10 | pgPool, |
| 11 | }); |
| 12 | } |
| 13 | return workerUtilsPromise; |
| 14 | } |
| 15 | |
| 16 | function defineTask<TPayload>(options: { |
| 17 | id: string; |
no outgoing calls
no test coverage detected