Readonly
isSubject that contains whether or not the worker is still initializing.
Readonly
priorityWhether or not this is a priority worker.
Readonly
threadA persisted thread id. This is needed because the internal worker sets its threadId to -1 when it crashes => There is no way to check which thread job was affected by the crash.
Optional
timeoutThe timeout object after which this thread should be terminated.
Readonly
workerThe actual worker.
A worker for handling thread job. Consists of the actual worker, whether or not it is a priority worker. And the information of whether the worker is still initializing.