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

how to update or insert in collections from workers #191

Closed iBet7o closed 8 years ago

iBet7o commented 8 years ago

Hi o/!

I've a file with workers outside meteor develop. How you could access collections from workers?

try to call the method with ddp.call but not if it is correct.

regards

vsivsi commented 8 years ago

Hi, this is really a question for the node DDP client package. You should be able to subscribe to published document sets and call server-side methods to modify collection documents using that package.

iBet7o commented 8 years ago

ok, thanks @vsivsi