Documentation
    Preparing search index...
    afterCommit: (f: () => Promise<void>) => Promise<void>

    Run work after the current transaction commits. withTransaction here is a pass-through holding no connection, so there is nothing to defer and f runs immediately. For pg compatibility.

    Type Declaration

      • (f: () => Promise<void>): Promise<void>
      • Parameters

        • f: () => Promise<void>

          work to run

        Returns Promise<void>