libram
    Preparing search index...

    Function withBatch

    • Wrap a specified action in mafia's batchOpen and batchClose

      Type Parameters

      • T

      Parameters

      • action: () => T

        Action to perform while using mafia's batching feature

      Returns T

      The return value of the action