Documentation
    Preparing search index...

    Variable whenTransactionisFreeConst

    whenTransactionisFree: (f: Function, onError: Function) => Promise<any>

    just a wrapper for withTransaction for pg compatibility

    Type Declaration

      • (f: Function, onError: Function): Promise<any>
      • Parameters

        • f: Function

          logic to run

        • onError: Function

          error callback

        Returns Promise<any>