iron_worker_node
iron_worker_node copied to clipboard
Include other modules, like controller model?
Hi, I saw the iron worker example is great. However, it is an example of uploading a single node.js file which run a few command of code.
My web application code is using express.js. It has a number of controllers and models. My problem is that my worker process would like to do some complicated job which could make use of my application code and its related controllers and models.
Can I achieve that?
Thanks
Hey, you could merge any files/folders check this one - http://dev.iron.io/worker/reference/dotworker/#syntax_reference