zibri
    Preparing search index...

    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.

    Index

    Constructors

    Properties

    isInitializingSubject: BehaviorSubject<boolean> = ...

    Subject that contains whether or not the worker is still initializing.

    priority: boolean

    Whether or not this is a priority worker.

    threadId: number

    A 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.

    timeout?: Timeout

    The timeout object after which this thread should be terminated.

    worker: Worker

    The actual worker.