worker: allow specifying resource limits
Allow specifying resource limits for the JS engine instance created as part of a Worker.
/cc @nodejs/workers
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines