vsivsi / meteor-job-collection

A persistent and reactive job queue for Meteor, supporting distributed workers that can run anywhere.
https://atmospherejs.com/vsivsi/job-collection
Other
388 stars 68 forks source link

queue = jc.processJobs(null, ... #256

Closed janat08 closed 6 years ago

janat08 commented 6 years ago

If you're using observable without type filter to trigger and just use switch statement to discern between job types that are not extraordinary then that becomes convenient.

vsivsi commented 6 years ago

You can easily emulate this by just having one job type, and then use some other meaningful field(s) from your data object in your case statement.