Node TAP
    Preparing search index...

    Class WorkerPlugin

    Index
    • get workerData(): any

      In the worker thread, the worker data that was provided to the t.worker method.

      In the main thread, this field is undefined.

      Returns any

    isMainThread: boolean

    True if in the main thread. False when running in a worker thread spawned by t.worker