[fix] Attempting to access worker data within a function job throws worker_threads_1 is not defined
#246
Labels
bug
Something isn't working
Describe the bug
Node.js version: 18
OS version: Ubuntu (Docker)
Description: After discovering that class functions cannot be used for the scheduler jobs, I created a top-level function and am attempting to access the
workerData
to run the correct Collector (see #245).Code to reproduce
I can create a sample reproduction of the problem if needed.
Checklist
The text was updated successfully, but these errors were encountered: