@logixjs/core
    Preparing search index...

    Function batch

    • Runtime.batch:

      • Provides a stronger "tick boundary" for RuntimeStore/TickScheduler than the default microtask boundary.
      • Sync-only: nested batches flatten; only the outermost batch triggers the flush boundary.
      • NOT a transaction: no rollback; errors may result in partial commits, but the flush boundary is still released in finally.

      WARNING:

      • Do not await inside the batch callback expecting mid-flush; batch only establishes a synchronous boundary.

      Type Parameters

      • A

      Parameters

      • fn: () => A

      Returns A