You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is more of a question and not an issue--not sure where might be the best place to post. I can configure a worker with a workerData hash so that the scheduled job can have access to some seed data when it runs. However, is there a way to dynamically set this workerData hash on each run? Say I have a job that runs every 5 minutes, and every time it runs, I want to repopulate workerData with some data from another class in my project fetched via a getter, for example. Is that possible?
The text was updated successfully, but these errors were encountered:
This is more of a question and not an issue--not sure where might be the best place to post. I can configure a worker with a
workerData
hash so that the scheduled job can have access to some seed data when it runs. However, is there a way to dynamically set thisworkerData
hash on each run? Say I have a job that runs every 5 minutes, and every time it runs, I want to repopulateworkerData
with some data from another class in my project fetched via a getter, for example. Is that possible?The text was updated successfully, but these errors were encountered: