Tool-Shack
    Preparing search index...

    Function runAsync

    • Run function in asynchronously in Worker

      Type Parameters

      • T

      Parameters

      • workerFunction: () => T | Promise<T>

        Function to be run asynchronously in a worker

      Returns Promise<T>

      Promise of expected result