worker_threads: add options.timeout for worker_threads
add options.timeout
and options.signal
for worker_threads
. Be consistent with the child_process
.
Refs: timeout
and signal
of child_process
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines