TxAppInfo represents an active transaction context associated to an existing app instance.

Hierarchy

  • TxAppInfo

Methods

Methods

  • OnComplete registers the provided callback that will be invoked once the related transaction ends (either completes successfully or rollbacked with an error).

    The callback receives the transaction error (if any) as its argument. Any additional errors returned by the OnComplete callbacks will be joined together with txErr when returning the final transaction result.

    Parameters

    • fn: ((txErr) => void)
        • (txErr): void
        • Parameters

          • txErr: Error

          Returns void

    Returns void

Generated using TypeDoc