photostructure / batch-cluster.js

Parallelized and efficient Node.js support for batch-mode child processes
https://photostructure.github.io/batch-cluster.js/
MIT License
14 stars 2 forks source link

Allow usage in Electron renderer #2

Closed timfish closed 6 years ago

timfish commented 6 years ago

In the Electron renderer setInterval is the browser window.setInterval and batch-cluster fails as its expecting setInterval to return a NodeJS.Timer.

This should allow exiftool-vendored to work in the Electron renderer.

See this users stackoverflow question: https://stackoverflow.com/questions/48961238/electron-setinterval-implementation-difference-between-chrome-and-node

mceachen commented 6 years ago

I merged this manually, and am releasing v1.10.0. I'll bump exiftool-vendored now, too. Thanks again (and thanks for your work with electron-remote!)