- callback < Function>
- err < Error>
- exitCode < integer>
Warning: Currently, not all code in the internals of Node.js is prepared to expect termination at arbitrary points in time and may crash if it encounters that condition. Consequently, only call .terminate() if it is known that the Worker thread is not accessing Node.js core modules other than what is exposed in the worker module.
更多内容请参考：Node.js worker_threads 工作线程，或者通过 点击对应菜单 进行查看；