Back to Pocketbase

Interface TxAppInfo

static/jsvm/interfaces/core.TxAppInfo.html

latest1.1 KB
Original Source

Interface TxAppInfo

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

Hierarchy

  • TxAppInfo

Index

Methods

onComplete

Methods

onComplete

  • onComplete(fn): void

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

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc