Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

web-worker-manager

cheminfo-js100.6kMIT0.2.0

Worker manager

worker, manager

readme

worker-manager

Worker manager

Limitations

  • deps
    • URI must be absolute (because worker runs from a blob:)
    • Workers launched from https: pages cannot import http: scripts

License

MIT

changelog

0.2.0 / 2015-11-19

  • numWorkers option now defaults to CORES-1
  • allow to send transferable objects

0.1.1 / 2015-11-19

  • fix template to work with babel

0.1.0 / 2015-09-03

  • import scripts after worker definition
  • correctly handle errors

0.0.4 / 2015-08-10

  • inject dependencies before executing the worker function

0.0.3 / 2015-08-10

  • allow to pass the worker function as a string

0.0.2 / 2015-05-01

  • first release