output
    Preparing search index...

    Function onBeforeWorkerStart

    • Register a handler to be invoked once, before the worker starts processing tasks. It is invoked before Worker.create().

      Parameters

      • handler: () => void

        Function called with no arguments.

      Returns void