Saw plenty of examples of puppeteer-cluster and how to instantiate it/create tasks by reading the documentation in its GitHub page, yet I can't still figure out how to import the same instance of puppeteer-cluster across different files of my application, to take advantage of it
Can I import an unique puppeter-cluster instance and its tasks in other files of my application, and queue them from it?
I did something like this
init-puppeteer-cluster.js
In app.js
init()
In other files
cluster.queue(...)