runInSeparateWork | WebHare Platform SDK
WebHare Platform SDK
    Preparing search index...

    Function runInSeparateWork

    • Run a function in a separate work object and commit it

      Type Parameters

      • T

      Parameters

      Returns Promise<T>

      If the function throws, the work is rolled back and the exception is rethrown