当工作线程开始执行 JavaScript 代码时,则会触发 'online' 事件。
'online'
The 'online' event is emitted when the worker thread has started executing JavaScript code.