worker.threadName
当前线程的字符串标识符,如果线程未运行,则为 null。在对应的工作线程对象上(如果有的话),可以作为 worker.threadName
使用。
¥A string identifier for the current thread or null if the thread is not running.
On the corresponding worker object (if there is any), it is available as worker.threadName
.