Function initWorkers

  • This function is used to spin up multiple workers for the service

    Parameters

    • numberOfWorkers: number

      The number of workers to spin up

    • __filename: string

      The __filename of the index file

    Returns void

    void