可以查询队列或添加属性来检查 BULLMQ 库中的队列中是否已存在具有特定属性的作业
我的问题很简单。我只是想知道是否可以知道 jobData 中具有某些属性的作业是否已经在 BULLMQ 队列中。在文档中没有任何关于此的内容,也没有在互联网上找到任何有关这种情况的信息:/ 任何信息都非常非常有用。 提前致谢。
My question is simple. I just wanna to know if is possible to know is a job with certain propertie in jobData is already on BULLMQ queue. In docs there's nothing about this an didn't found anything about this situation on internet :/
Any info is very very helfull.
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
你知道队列名称吗?如果您知道队列名称,则可以使用 getJobs< 查询作业列表/a> 并获取数据。
Do you know the queue name? If you know the queue name, you can query the list of jobs, using getJobs and get the data.